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

Sends a custom when an enemy is seen, sends a custom again after no enemy in the criteria is visible \Enemy_Preset_ID - Preset ID required to be seen to remove the script, if 0 any enemy will trigger the script \ID - Id of the object to send the custom to, 0 sends to itself, -1 sends to the seen object \Visible_Message - Custom to send when there is a target that is visible \Visible_Param - Param to send when there is a target that is visible, if -1 it's the id of the seen object \Not_Visible_Message - Custom sent when no preset is visible anymore \Not_Visible_Param - Param sent when no preset is visible anymore, if -1 it's the id of the seen object \Max_Lost_Sight_Time - This is the max amount of time an enemy can go without being seen before being lost \ game scans at least once a second so I recommend at least 2.5 seconds if not longer \RepeatSendSeenCustom - If set to true this custom will continue to be fired 10 times a second \AttackPriority[Car|Tank|Bike] - Higher the value the more the object is prioritized, 0 can't be targeted \AttackPriority[Flying|Turret|Boat] - Higher the value the more the object is prioritized, 0 can't be targeted \AttackPriority[Submarine|Infantry|Unused - Higher the value the more the object is prioritized, 0 can't be targeted. More...

#include <jmgUtility.h>

Detailed Description

Author
jgray