FED2 ADVANCED WORKBENCH
SCRIPT REFERENCE
CHECKSIZE
Checks an object's size to see if it is higher, lower or equal to a specified value, and calls a different event depending on the outcome of the check.
Parameters:
ID or Name - The object whose size is being checked
Value to Check - the object size that you want to check against
Higher - the event to call if the size is greater than the value specified
Equals - the event to call if it's the same
Lower - the event to call if it's smaller
Example:
checksize script: id-name holo-card: value 1: higher objects.holocard.5: equals objects.holocard.5: less object.holocard.6