Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ActivateExtensionForGameObject
Syntax
C++
int ActivateExtensionForGameObject(IFunctionHandler * pH, ScriptHandle entityId, const char * extension, bool activate);
Parameters 
Description 
ScriptHandle entityId 
Identifier for the entity. 
const char * extension 
Extension name. 
bool activate 
True to activate the extension, false to deactivate it. 

Syntax: Action.ActivateExtensionForGameObject( entityId, extension, activate ) 

Activates a specified extension for a game object. 

 

Copyright (c) 2012. All rights reserved.