I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

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

OrdersNone

Value:

NPC is free to make its own decisions

OrdersAttack

Value: 'attack'

NPC is on autonomous offense (will attack enemy)

OrdersDefend

Value: 'defend'

NPC is on autonomous defense (will defend base)

OrdersFollow

Value: 'follow'

NPC will stay close to order object

OrdersGoto

Value: 'goto'

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

OrdersHold

Value: 'hold'

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

OrdersSquad

Value: 'squad'

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

NotImplementedMessage

Value: "function not implemented"


StyleCharge

Value: 10.0


StyleClose

Value: 1.6


StyleNeutral

Value: 0.0


StyleBackOff

Value: -1.6


StyleRetreat

Value: -5.0


StyleRunaway

Value: -10.0


Properties

Property group 'Controller'

bVisibleAI

Type: bool

Modifiers: globalconfig

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

Functions

See U2NPCController functions.