Difference between revisions of "Activation Functions"
no edit summary
imported>Elder |
imported>Elder |
||
Line 93: | Line 93: | ||
One way to fix this is to pass another actor ref instead of player. However, it depends on what you wish to achieve. | One way to fix this is to pass another actor ref instead of player. However, it depends on what you wish to achieve. | ||
If you really want a static function then your best option is to use a remote persistent object - i.e. a true world activator object (e.g. a switch). This has no such issues and has the advantage of | If you really want a static function then your best option is to use a remote persistent object - i.e. a true world activator object (e.g. a switch). This has no such issues and has the advantage of accepting slightly neater call syntax: | ||
IGFActRef.Activate player | IGFActRef.Activate player |