Difference between revisions of "GetActionRef"
Reciprocating links because it makes sense.
imported>Scruggs (Clean up recent additions) |
imported>Antares (Reciprocating links because it makes sense.) |
||
(6 intermediate revisions by 5 users not shown) | |||
Line 6: | Line 6: | ||
==Notes== | ==Notes== | ||
* This function is only useful inside an | * 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 ) | ||
if ( IsActionRef player ) ; these two expressions are equivalent</pre> | if ( IsActionRef player ) ; these two expressions are equivalent</pre> | ||
==See Also== | ==See Also== | ||
[[IsActionRef]] | [[IsActionRef]]<BR> | ||
[[OnTrigger]] | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category: Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | [[Category: Functions (CS 1.0)]] | ||
[[Category: Miscellaneous Functions]] | |||
[[Category: Miscellaneous Functions (CS 1.0)]] | |||
[[Category: Record Variable Functions]] | [[Category: Record Variable Functions]] | ||
[[Category: Record Variable Functions (CS | [[Category: Record Variable Functions (CS 1.0)]] | ||
<!-- Begin Search Terms | |||
Get | |||
Action | |||
Ref | |||
End Search Terms --> |