Gah - a solution with more questions. – EntropicLqd

UE3:Controller properties (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT3 Object >> Actor >> Controller (properties)
Controller properties in other games:
UDK
Other member categories for this class:
events, instance functions

Properties[edit]

AdjustLoc[edit]

Type: Object.Vector

location to move to while adjusting around obstacle

bAdjusting[edit]

Type: bool

adjusting around obstacle

bAdvancedTactics[edit]

Type: bool

serpentine movement between pathnodes

bAffectedByHitEffects[edit]

Type: bool

cheat - when true, can't be affected by effects from damage (e.g. momentum transfer, hit effects, etc.)

Default value: True

bCanDoSpecial[edit]

Type: bool

are we able to traverse R_SPECIAL reach specs?

bFire[edit]

Type: byte

Modifiers: input


bForceDesiredRotation[edit]

Type: bool

Forces physics to use Controller.DesiredRotation regardless of focus etc

bForceStrafe[edit]

Type: bool


bGodMode[edit]

Type: bool

cheat - when true, can't be killed or hurt

bIsPlayer[edit]

Type: bool

Pawn is a player or a player-bot.

bLOSflag[edit]

Type: bool

Modifiers: const

used for alternating LineOfSight traces

bNotifyApex[edit]

Type: bool

event NotifyJumpApex() when at apex of jump

bNotifyFallingHitWall[edit]

Type: bool


bNotifyPostLanded[edit]

Type: bool


bPreciseDestination[edit]

Type: bool

Forces all velocity to be directed towards reaching Destination

bPreparingMove[edit]

Type: bool

set true while pawn sets up for a latent move

bSeeFriendly[edit]

Type: bool

Do visibility checks, call SeePlayer events() for pawns on same team as self. Setting to true will result in a lot more AI visibility line checks.

bSlowerZAcquire[edit]

Type: bool

acquire targets above or below more slowly than at same height

Default value: True

bSoaking[edit]

Type: bool

pause and focus on this bot if it encounters a problem

bUsePlayerHearing[edit]

Type: bool


bUsingPathLanes[edit]

Type: bool

indicates that the AI is within a lane in its CurrentPath (like a road) to avoid ramming other Pawns also using that path set by MoveToward() when it detects multiple AI pawns using the same path when this is true, serpentine movement and cutting corners are disabled

CurrentPath[edit]

Type: ReachSpec


CurrentPathDir[edit]

Type: Object.Vector


Destination[edit]

Type: Object.Vector

location being moved toward

Enemy[edit]

Type: Pawn


FailedMoveTarget[edit]

Type: Actor

used for discovering navigation failures

FailedReachLocation[edit]

Type: Object.Vector

Modifiers: const


FailedReachTime[edit]

Type: float

Modifiers: const


FocalPoint[edit]

Type: Object.Vector

location being looked at

Focus[edit]

Type: Actor

actor being looked at

GoalList[edit]

Type: Actor

Array size: 4

used by navigation AI - list of intermediate goals

GroundPitchTime[edit]

Type: float


HighJumpNodeCostModifier[edit]

Type: int

additive modifier to cost of NavigationPoints that require high jumping

InUseNodeCostMultiplier[edit]

Type: float

multiplier to cost of NavigationPoints that another Pawn is currently anchored to

LaneOffset[edit]

Type: float

the offset from the center of CurrentPath to the center of the lane in use (the Pawn's CollisionRadius defines the extent) positive values are to the Pawn's right, negative to the Pawn's left

LastFailedReach[edit]

Type: Actor

Modifiers: const

cache to avoid trying failed actorreachable more than once per frame

LastRouteFind[edit]

Type: float

time at which last route finding occured

MinHitWall[edit]

Type: float


Default value: -1.0

MoveFailureCount[edit]

Type: int


MoveTarget[edit]

Type: Actor

actor being moved toward

MoveTimer[edit]

Type: float

internal timer for latent moves, useful for setting a max duration

NextController[edit]

Type: Controller

Modifiers: const, private

chained Controller list

NextRoutePath[edit]

Type: ReachSpec


OldBasedRotation[edit]

Type: Object.Rotator

Modifiers: const

Used for reversing rejected mover base movement

Pawn[edit]

Type: Pawn


PendingMover[edit]

Type: InterpActor


PlayerNum[edit]

Type: int

Modifiers: const

The player number - per-match player number.

PlayerReplicationInfo[edit]

Type: PlayerReplicationInfo

Modifiers: repnotify


RespawnPredictionTime[edit]

Type: float


RouteCache[edit]

Type: array<NavigationPoint>

Cached list of nodes filled in by the last call to FindPathXXX

RouteDist[edit]

Type: float

total distance for current route

RouteGoal[edit]

Type: Actor

final destination for current route

ShotTarget[edit]

Type: Pawn

Target most recently aimed at

SightCounter[edit]

Type: float

Used to keep track of when to check player visibility

SightCounterInterval[edit]

Type: float

how often player visibility is checked

Default value: 0.2

StartSpot[edit]

Type: NavigationPoint

where player started the match

Target[edit]

Type: Actor

Modifiers: deprecated


ViewX[edit]

Type: Object.Vector


ViewY[edit]

Type: Object.Vector


ViewZ[edit]

Type: Object.Vector

Viewrotation encoding for PHYS_Spider

VisiblePortals[edit]

Type: array<VisiblePortalInfo>


Default values[edit]

Property Value
bHidden True
bHiddenEd True
bOnlyRelevantToOwner True
CollisionType COLLIDE_CustomDefault
Components[0] SpriteComponent'Sprite'
RotationRate
Member Value
Pitch 30000
Roll 2048
Yaw 30000

Subobjects[edit]

Sprite[edit]

Class: Engine.SpriteComponent

Property Value
AlwaysLoadOnClient False
AlwaysLoadOnServer False
HiddenGame True