Tiberian Technologies Scripts Reference Revision: 9000
Loading...
Searching...
No Matches
List of all members
MS_Health_Send_Custom Class Reference

Send custom based on health. More...

Detailed Description

Author
Daniel Szabo (danie.nosp@m.l.sz.nosp@m.abo.7.nosp@m.15@g.nosp@m.mail..nosp@m.com)

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.

Parameters
HealthCurrent HP will be always checked against this value if it is under or above it.
UnderIDThe 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.
UnderCustomThe under custom message that will be sent to the object defined in the ID.
UnderParamThe parameter of the under custom message that will be sent to the object defined in the ID.
AboveIDThe 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.
AboveCustomThe above custom message that will be sent to the object defined in the ID.
AboveParamThe parameter of the above custom message that will be sent to the object defined in the ID.