I'm a doctor, not a mechanic

UE2:U2NPCController (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Controller >> LicenseeController >> AIController >> U2NPCController
Package: 
U2
Direct subclasses:
ControllerProxy, StationaryPawnController, U2NPCControllerScriptable

U2NPCController.uc Created By: Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 12/17/02 8:30p $ $Revision: 56 $

Constants[edit]

OrdersNone[edit]

Value:

NPC is free to make its own decisions

OrdersAttack[edit]

Value: 'attack'

NPC is on autonomous offense (will attack enemy)

OrdersDefend[edit]

Value: 'defend'

NPC is on autonomous defense (will defend base)

OrdersFollow[edit]

Value: 'follow'

NPC will stay close to order object

OrdersGoto[edit]

Value: 'goto'

NPC will stay at or near a specific location (still gathers inventory)

OrdersHold[edit]

Value: 'hold'

NPC will stay at or near a specific location (still gathers inventory)

OrdersSquad[edit]

Value: 'squad'

really just "placeholder" orders so NPC is counted as following orders if in a squad

NotImplementedMessage[edit]

Value: "function not implemented"


StyleCharge[edit]

Value: 10.0


StyleClose[edit]

Value: 1.6


StyleNeutral[edit]

Value: 0.0


StyleBackOff[edit]

Value: -1.6


StyleRetreat[edit]

Value: -5.0


StyleRunaway[edit]

Value: -10.0


Properties[edit]

Property group 'Controller'[edit]

bVisibleAI[edit]

Type: bool

Modifiers: globalconfig

show/hide AI destination actors, dormant NPCs, movement lines etc.

Functions[edit]

See U2NPCController functions.