Enable

Revision as of 20:50, 4 June 2009 by imported>Shademe (→‎Article Updated:  Syntax)

Syntax:

[ActorID.]Enable

Enables the calling object if it was previously disabled with Disable. Objects are enabled by default, which means they are rendered in the game, and if they are actors, will process their AI.

Notes

  • Does not work on objects with a parent ref. You will have to use the function on the parent ref instead. Use GetParentRef to find the parent ref. There is currently no function to determine the "Enable State to Opposite of Parent" flag.


See Also

Disable

GetDisabled