Retrieves an array of integer values from an object's attributes.
Because Shogun Post commands can only have one return type, there must be separate commands for retrieving different types of property data.
This command is mainly used to retrieve the color attribute values. Colors are returned as a three element integer array, holding the R, G, and B values of the color. Values range from 0-255.
Data retrieval
getIntArrayProperty moduleName propertyName |
Name | Type | Required | Comments |
---|---|---|---|
propertyName | string | yes | Name of the property on the object. |
moduleName | string | yes | Object to retrieve property value from. |
None
integer array
// Get an object's color.
int $color[];
$color = `getIntArrayProperty "LFHD" "Color"`;
print $color;