I'm a doctor, not a mechanic

UE2:Controller internal variables (U2)

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
U2 Object >> Actor >> Controller (internal variables)
Controller internal variables in other games:
U2XMP, UE2Runtime, UT2003, UT2004
Other member categories for this class:
functions, instance functions

Internal variables[edit]

AcquisitionYawRate[edit]

Type: int


Default value: 20000

AdjustLoc[edit]

Type: Object.Vector

location to move to while adjusting around obstacle

AimRotation[edit]

Type: Object.Rotator

rotation to used for aiming

bAdjusting[edit]

Type: bool

adjusting around obstacle

bAdvancedTactics[edit]

Type: bool

serpentine movement between pathnodes

bAllowedToImpactJump[edit]

Type: bool


bAllowedToTranslocate[edit]

Type: bool


bAltFire[edit]

Type: byte

Modifiers: input


bCanDoSpecial[edit]

Type: bool


bCanOpenDoors[edit]

Type: bool


bControlAnimations[edit]

Type: bool

take control of animations from pawn (don't let pawn play animations based on notifications)

bDuck[edit]

Type: byte

Modifiers: input


bEnemyAcquired[edit]

Type: bool


bEnemyInfoValid[edit]

Type: bool

false when change enemy, true when LastSeenPos etc updated

bFire[edit]

Type: byte

Modifiers: input


bGodMode[edit]

Type: bool


bHuntPlayer[edit]

Type: bool

hunting player

bIsPlayer[edit]

Type: bool

Pawn is a player or a player-bot.

bJump[edit]

Type: byte

Modifiers: input


bJumpOverWall[edit]

Type: bool

true when jumping to clear obstacle

bLOSflag[edit]

Type: bool

Modifiers: const

used for alternating LineOfSight traces

bNotifyApex[edit]

Type: bool

event NotifyJumpApex() when at apex of jump

bPreparingMove[edit]

Type: bool

set true while pawn sets up for a latent move

bRun[edit]

Type: byte

Modifiers: input


bShouldPossess[edit]

Type: bool


bShowSelf[edit]

Type: bool

Pawn should show itself to other Pawns even if !bIsPlayer (!!mdf-tbd: see U2 optimizations, e.g. check team in native code, check health etc.)

bSoaking[edit]

Type: bool

pause and focus on this bot if it encounters a problem

bSprint[edit]

Type: byte

Modifiers: input


bUsePlayerHearing[edit]

Type: bool


CurrentPath[edit]

Type: ReachSpec


CurrentPathDir[edit]

Type: Object.Vector


Destination[edit]

Type: Object.Vector

location being moved toward

Enemy[edit]

Type: Pawn


FailedReachLocation[edit]

Type: Object.Vector

Modifiers: const


FailedReachTime[edit]

Type: float

Modifiers: const


FearSpots[edit]

Type: AvoidMarker

Array size: 2

avoid these spots when moving

FocalPoint[edit]

Type: Object.Vector

location being looked at

Focus[edit]

Type: Actor

actor being looked at

FovAngle[edit]

Type: float

X field of view angle in degrees, usually 90.

Default value: 90.0

GoalList[edit]

Type: Actor

Array size: 4

used by navigation AI - list of intermediate goals

GroundPitchTime[edit]

Type: float


home[edit]

Type: NavigationPoint

set when begin play, used for retreating and attitude checks

LastFailedReach[edit]

Type: Actor

Modifiers: const

cache to avoid trying failed actorreachable more than once per frame

LastPawnWeapon[edit]

Type: class<Weapon>

used by game stats

LastRange[edit]

Type: int

NEW (mdf) last range (1..Ranges.Num, 0 means not set

LastRangeEnemy[edit]

Type: Pawn

NEW (mdf) last enemy used for range check

LastRouteFind[edit]

Type: float


LastSeeingPos[edit]

Type: Object.Vector

position where I last saw enemy (auto updated if EnemyNotVisible enabled)

LastSeenPos[edit]

Type: Object.Vector

enemy position when I last saw enemy (auto updated if EnemyNotVisible() enabled)

LastSeenTime[edit]

Type: float


MinHitWall[edit]

Type: float

Minimum HitNormal dot Velocity.Normal to get a HitWall event from the physics

Default value: -1.0

MonitoredPawn[edit]

Type: Pawn

used by latent function MonitorPawn()

MonitorMaxDistSq[edit]

Type: float


MonitorStartLoc[edit]

Type: Object.Vector

used by latent function MonitorPawn()

MoveTarget[edit]

Type: Actor

actor being moved toward

MoveTimer[edit]

Type: float


nextController[edit]

Type: Controller

Modifiers: const

chained Controller list

OldMessageTime[edit]

Type: float


Pawn[edit]

Type: Pawn


PawnClass[edit]

Type: class<Pawn>

class of pawn to spawn (for players)

PendingMover[edit]

Type: Mover

mover pawn is waiting for to complete its move

PlayerNum[edit]

Type: int

Modifiers: const

The player number - per-match player number.

PlayerReplicationInfo[edit]

Type: PlayerReplicationInfo


PreviousPawnClass[edit]

Type: class<Pawn>

Holds the player's previous class

RangeCounter[edit]

Type: float

NEW (mdf) counter for checking for EnemyInRange events

Ranges[edit]

Type: array<float>


RespawnPredictionTime[edit]

Type: float

how far ahead to predict respawns when looking for inventory

RouteCache[edit]

Type: Actor

Array size: 16


RouteDist[edit]

Type: float

total distance for current route

RouteGoal[edit]

Type: Actor

final destination for current route

SightCounter[edit]

Type: float

Used to keep track of when to check player visibility

StartSpot[edit]

Type: NavigationPoint


Stimulus[edit]

Type: float


Target[edit]

Type: Actor


ViewX[edit]

Type: Object.Vector


ViewY[edit]

Type: Object.Vector


ViewZ[edit]

Type: Object.Vector

Viewrotation encoding for PHYS_Spider