bool SetVariableArraySize(const char* ppathToVar, unsigned count, SetVarType setType = SV_Sticky);
SetVariableArraySize sets the size of the array, which is useful when setting an existing array with fewer elements than it had before. If the array doesn't exist it will allocate an array and resize it. No data will be assigned to its elements.
Parameters |
Description |
const char* ppathToVar |
A path or name of the variable to be modified or created. |
unsigned count |
The size of the array. |
SetVarType setType = SV_Sticky |
Describes assignment queuing behavior applied if the target variable or movie clip does not yet exist. Can be SV_Normal, SV_Sticky (default) or SV_Permanent. |
A Boolean value of 1 if successful, otherwise 0.