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

Basic Engineer AI that will try to repair all OBJECTs in the patrol range, if an enemy gets close they will also shoot at them with their weapon preset. \ AI is granted the weapons if it does not have them. \RepaiarGun_Preset - Weapon preset to use to repair objects \Weapon_Preset - Weapon preset to use to attack enemies, if null the AI cannot attack enemies \PatrolRange - Area they can wander around in and search for things to repair \BaseCenterPoint - Center of the area they can wander in, if 0 0 0 it defaults to their create location \MinHP[Soldiers|Vehicles|Turrets] - HP must be below this value to be a repaireable target 0 disables the category \MinHP[EngineerTarget|C4|Beacon] - EngineerTarget is designated by any object with the script JMG_Utility_AI_Engineer_Repair_Target attached HP percent must be \ below this value. Beacon C4 means that the engineer will repair enemy beacons and C4 that currently have over this much of their max health, 1 disables it \ (the reason for this is is that you can make more engineers attempt to repair C4 or beacons with higher health this way) \Priority[RepairTargets|C4|Beacons] - This attempts to make some targets more valuable than others by tricking the AI into thinking they are further or nearer \ to it, this would allow you to make the AI always think beacons were super close thus it would always choose those to remove first. More...

#include <jmgUtility.h>

Detailed Description

Author
jgray