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

This script makes the AI seek out the nearest enemy, players are ignored, it works for infantry and vehicles \CaptureCpGroupId - Distance to scan for players to magically find and move to, -1 means infinite range \CaptureCpChance - 0.0-1.0 chance the AI will attempt to capture a control point instead of choosing to defend \CaptureSpeed - Speed at which the bot moves while trying to capture a control point \CaptureDistance - Distance to the wander point the bot will arrive \DefendCpGroupId - Group the AI will run between to defend CPs \DefendSpeed - Speed at which the bot moves while trying to defend a control point \DefendDistance - Distance to the wander point the bot will arrive \CloseDefendDistance - Distance in which defend points are considered close \ChooseFarDefendChance - 0.0-1.0 Chance that the bot will attempt to find a defend point that is further than the CloseDefendDistance \AttackSpeed - Speed to move at once an attack is begun \AttackDistance - Distance to arrive from a target when attacking, -1 uses the weapon effective distance \RandomAttackDistance - Random amount to add or subtract from the Attack distance \AttackDistractFromCaptureChance - Chance seeing an enemy will pull the AI away from charging at a control point to capture it \ChanceToInvestigateLastSeenLocation - The percent chance (0.0-1.0) of checking out the last spot an enemy/target was seen \AttackCheckBlocked - Defines whether they should check if they can actually hit the player before shooting \CanSeeStealth - Can the AI see stealth targets? 0 = No at all, 1 is within the ranges set in LE globals file, 2 means it can see stealth everywhere, think of stock AI. \ShutdownEngineOnArrival - Used for vehicles, turn on if you have issues with your vehicle rolling away from its move positions after it arrives \ChangeDefendSpeedCustom - If this custom is received the defense speed will be updated to the param/100 \ChangeCaptureSpeedCustom - If this custom is received the capture speed will be updated to the param/100 \ChangeAttackSpeedCustom - If this custom is received the attack speed will be updated to the param/100. More...

#include <jmgUtility.h>

Detailed Description

Author
jgray