Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetArray
Syntax
C++
int GetArray(IFunctionHandler * pH, const char * elementName, int instanceID, const char * arrayName);
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 * arrayName 
Array name as defined in the xml. 

Syntax: UIAction.GetArray( elementName, instanceID, arrayName ) 

Returns a table with values of the array.

Copyright (c) 2012. All rights reserved.