Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::Activate Method
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.</param 
 

!

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.