Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:U2NPCControllerScriptable (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Controller >> LicenseeController >> AIController >> U2NPCController >> U2NPCControllerScriptable
Package: 
U2AI
Direct subclasses:
LevelMasterController, U2NPCControllerShared

U2NPCControllerScriptable.uc Created By: Steve Polge, Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 12/18/02 5:22p $ $Revision: 63 $

Constants[edit]

ScriptedState[edit]

Value: 'Scripted'

under script control

ScriptedDialogState[edit]

Value: 'ScriptedDialog'

engaging in dialog

ScriptedDialogFarState[edit]

Value: 'ScriptedDialogFar'

waiting for 3rd party dialog to finish

MinMoveSpeedMultiplier[edit]

Value: 0.05


Properties[edit]

bDidStartup[edit]

Type: bool

hack to make sure script doesn't start executing before NPC initialized

bDirectionalPatrol[edit]

Type: bool

Modifiers: protected

whether NPC on patrol will match patrol destination rotation

bInitializedForScripting[edit]

Type: bool


bScriptedHeadTrackingEnabled[edit]

Type: bool


bScriptedIdleAnims[edit]

Type: bool

Modifiers: protected

whether script is handling idle animations (tbd)

bScriptLockedTarget[edit]

Type: bool


bScriptPendingFire[edit]

Type: bool


bScriptPendingFireUseAltMode[edit]

Type: byte


bStayDormant[edit]

Type: bool


bStayStationary[edit]

Type: bool

can be set (e.g. via script) to force NPC to stay stationary

bXMPHandlingEnabled[edit]

Type: bool


CrouchingMoveSpeedMultiplier[edit]

Type: float


DefaultScriptControllerClass[edit]

Type: class<ScriptControllerInterf>

default event controller class

LastAutoEndTime[edit]

Type: float


MaxScriptedAutoEndDelay[edit]

Type: float

max delay when going back to script after being autonomous

ProneMoveSpeedMultiplier[edit]

Type: float


ScriptController[edit]

Type: ScriptControllerInterf

script controller (SC) assigned on startup

ScriptedAimOdds[edit]

Type: float

used with scripting firing

Default value: 1.0

ScriptedFocus[edit]

Type: Actor


ScriptedScriptControllerClass[edit]

Type: class<ScriptControllerInterf>

scripted event controller class

ScriptedTacticalMoveType[edit]

Type: Actor.ETacticalMoveType

type of tactical moves to use during scripted movement

StandingMoveSpeedMultiplier[edit]

Type: float


StationaryStance[edit]

Type: byte


U2P[edit]

Type: U2Pawn


Functions[edit]

Exec functions[edit]

Use[edit]

exec function Use ()

Overrides: Controller.Use


Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Controller.Destroyed


EnemyNotVisible[edit]

event final EnemyNotVisible ()


SeeEnemy[edit]

event final SeeEnemy (Pawn Seen)


Other instance functions[edit]

See U2NPCControllerScriptable instance functions.