View Single Post
  #9  
Old 06-27-2009, 08:00 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Gambet View Post
You don't need to use findWeapon() anymore in cases like the one that you're doing. With GS2, object-oriented programming was introduced and weapons can be treated as objects so you just refer to the object by its name and call the function like such: weaponName.function().
Underlined part is wrong
It's not possible to do Shared/DraeninStatRoll.function();
As / is a math operator and will conflict.

The use of findweapon() is like the use of get and set functions.
__________________
Reply With Quote