Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_UIAction::SetArray Method
Syntax
C++
int SetArray(IFunctionHandler * pH, const char * elementName, int instanceID, const char * arrayName, SmartScriptTable values);
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. 
SmartScriptTable values 
Table of values for the array. 

!

UIAction.SetArray( elementName, instanceID, arrayName, values )

!  

!  

!  

!  

! Sets an array of the UI flash asset.

Copyright (c) 2012. All rights reserved.