Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_UIAction::SetVariable Method
Syntax
C++
int SetVariable(IFunctionHandler* pH, const char* elementName, int instanceID, const char* varName);
Parameters 
Description 
const char* elementName 
UI Element name as defined in the xml. 
int instanceID 
ID of the instance (if instance with id does not exist, it will be created). '-1' for all instances. 
const char* varName 
Variable name as defined in the xml. 
value 
Value to set. 

!

UIAction.SetVariable( elementName, instanceID, varName, value )

!  

!  

!  

!  

! Sets a variable of the UI flash asset. 

 

Copyright (c) 2012. All rights reserved.