|
Tiberian Technologies Scripts Reference Revision: 9000
|
Send custom based on health. More...
When attached to an object, this script can make that object send customs around when its health goes under or above a given value.
The custom is sent only once until the health goes to the other side of the treshold. This means if the Health parameter is set to 100 and the object's health is 99 then the custom is sent once. Then the health needs to reach 100 and then 99 once again to send the custom once more.
| Health | Current HP will be always checked against this value if it is under or above it. |
| UnderID | The ID of the object to send the custom message to when the health is under the treshold. When set to -1, nothing will get a message. 0 sends to self. |
| UnderCustom | The under custom message that will be sent to the object defined in the ID. |
| UnderParam | The parameter of the under custom message that will be sent to the object defined in the ID. |
| AboveID | The ID of the object to send the custom message to when the health is above the treshold. When set to -1, nothing will get a message. 0 sends to self. |
| AboveCustom | The above custom message that will be sent to the object defined in the ID. |
| AboveParam | The parameter of the above custom message that will be sent to the object defined in the ID. |