Difference between revisions of "GetActionRef"
no edit summary
imported>Haama (→Notes: Most common block people try) |
imported>Skyranger-1 |
||
Line 6: | Line 6: | ||
==Notes== | ==Notes== | ||
* This function is only useful inside | * This function is only useful inside an OnActivate or OnTrigger block. | ||
* Unlike [[IsActionRef]], which checks for a specific reference, this function returns a reference. However, it can be used to imitate the behavior of [[IsActionRef]]: | * Unlike [[IsActionRef]], which checks for a specific reference, this function returns a reference. However, it can be used to imitate the behavior of [[IsActionRef]]: | ||
<pre>if ( GetActionRef == player ) | <pre>if ( GetActionRef == player ) |