Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetVariable
Syntax
C++
int GetVariable(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. 

Syntax: UIAction.GetVariable( elementName, instanceID, varName ) 

Gets a variable of the UI flash asset.

Copyright (c) 2012. All rights reserved.