OnActivate

From the Oblivion ConstructionSet Wiki
Revision as of 18:33, 31 January 2006 by imported>Ecaponi
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 default object's 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