IsActionRef
Revision as of 13:06, 15 December 2008 by imported>Haama (Removing space to prevent sorting bug)
Syntax:
IsActionRef ObjectRefID
Example:
IsActionRef player
Useful only inside an OnActivate block. Returns true if the specified ObjectRefID was the activator.
For example:
begin OnActivate if IsActionRef player == 1 MessageBox "You can't activate me, sucka!" else Activate endif end