Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
Activate
Syntax
C++
int Activate(IFunctionHandler * pH, int bActive);
Parameters 
Description 
bActivate 
if true entity will become active, is false will deactivate and stop being updated every frame.
 

Syntax: Entity.Activate( bActivate ) 

Activates or deactivates entity. This calls ignores update policy and forces entity to activate or deactivate All active entities will be updated every frame, having too many active entities can affect performance.

Copyright (c) 2012. All rights reserved.