Difference between revisions of "GetActionRef"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
 
imported>Tarmadon
Line 3: Line 3:
    
    


Returns the reference currently activating the scripted object. '''Valid only when the object is being activated.''' It will only return a value during the frame after the object has been activated. This means it is generally only useful inside an [[OnActivate]] block.
Returns the reference currently interacting with the scripted object. '''Valid only when the object is being activated or triggered.''' It will only return a value during the frame after the object has been interacted with. This means it is generally only useful inside an [[OnActivate]] or [[OnTrigger]] block.
   
   
==See Also==
==See Also==

Revision as of 06:34, 28 March 2006

Syntax:

set refVar to GetActionRef 
 

Returns the reference currently interacting with the scripted object. Valid only when the object is being activated or triggered. It will only return a value during the frame after the object has been interacted with. This means it is generally only useful inside an OnActivate or OnTrigger block.

See Also

IsActionRef