OnActivate

From the Oblivion ConstructionSet Wiki
Revision as of 08:57, 13 April 2006 by imported>Kkuhlmann
Jump to navigation Jump to search

Syntax:

 begin OnActivate 

This block will be run once when the scripted reference is activated.

Note that this will prevent normal activation of the object. To use the object's default activation you must call Activate on it. If you want to do something specific depending on what activated the object, use IsActionRef inside the OnActivate block.

Note that the activator type of object has NO default activation.

See Also

Begin
IsActionRef