|
Tiberian Technologies Scripts Reference Revision: 9000
|
Sends a custom if the object's speed is below a certain amount when going a direction \MinVelocity[Forward|Backward|Left] - Speed that must be exceeded when going these directions \MinVelocity[Right|Up|Down] - Speed that must be exceeded when going these directions \OnlyTriggerOn - Use this to make it so the script can only trigger if its moving faster horizontal than vertical or vice versia (0 doesn't matter, 1 for horizontal, 2 for vertical) \OnlyTriggerOnMin[Horizontal|Vertical] - Min Speeds required for Only Trigger On to be able to work \OnlyTriggerOnMax[Horizontal|Vertical] - Max Speeds required for Only Trigger On to be able to work \Rate - how long to wait between each speed check \ID - Id of the object to send the custom to, 0 sends to itself \Message - Custom to send \Param - parameter to send with the custom, it param is -1 it will send a differnt param for each direction (1 = forward, 2 = backward, 3 = left, 4 = right, 5 = up, 6 = down) \Repeat - 1 to make it trigger again after sending a custom \StartsEnabled - Non-zero makes the script run on create \EnableCustom - Custom to enable or disable the script, send a non-zero param to enable. More...
#include <jmgUtility.h>