Mostly Harmless

UE2:U2NPCControllerShared properties (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search

Contents

;Other member categories for this class::constants, instance functions

Properties

bDialogSetFocus

Type: bool

Modifiers: protected

set if a dialog session sets NPC rotation

bFaceSpecialGoal

Type: bool

whether to try to face goal actor

bLastAimLocationHitFriendly

Type: bool

set to true when last adjustaim trace hits a friendly NPC/XMP item

BlockedByCoverHitOdds

Type: float


Default value: 0.02

bTargetObscured

Type: bool


CloseEnoughDistance

Type: float

if NPC following a Pawn which isn't currently reachable, stay put if at least this close

Default value: 512.0

DefaultRotationThreshold

Type: int


Default value: 910

DefaultState

Type: name


DialogFocus

Type: Actor

Modifiers: protected


DodgeEnableTime

Type: float

used in some cases to block dodging for a while (e.g. right after a knockdown/panic)

GetCloserThreshold

Type: float


Default value: 256.0

GMoveType

Type: EMoveType

holds result of last call to SetMoveTarget etc.

Hits

Type: int


LastAcquireTime

Type: float

set as NPC acquires enemy

MaxAcquireMissMultiplier

Type: float


Default value: 1.0

MaxAcquirePitchError

Type: int


Default value: 2048

MaxAffectedByAcquisitionTime

Type: float


Default value: 1.0

MaxAffectedByHitTime

Type: float

(secs)

Default value: 0.5

MaxAlwaysLeadDistance

Type: float

if enemy distance > this, sometimes don't lead

MaxHitMissMultiplier

Type: float


Default value: 1.0

MaxHitPitchError

Type: int


Default value: 2048

MaxMoveRecoverAttempts

Type: int


Default value: 5

MaxMoveToActorAttempts

Type: int

caps number of failed attempts to reach same goal

Default value: 10

MaxMoveToPointAttempts

Type: int

caps number of failed attempts to reach same goal

Default value: 2

MaxTeleportRangeMinZError

Type: float


Default value: 4096.0

MaxTeleportRangeMoveError

Type: float


Default value: 4096.0

MaxTeleportRangeStuckError

Type: float


Default value: 1280.0

MinAcquirePitchError

Type: int


Default value: 512

MinHitPitchError

Type: int


Default value: 512

MinLastRenderedTeleportDelay

Type: float


Default value: 2.0

MinTeleportRangeMinZError

Type: float


Default value: 64.0

MinTeleportRangeMoveError

Type: float


Default value: 256.0

MinTeleportRangeStuckError

Type: float


Default value: 128.0

Misses

Type: int

!!mdf-tmp testing / stat gathering

NumMoveAttempts

Type: int

number of failed attempts to reach current destination

NumMoveRecoverAttempts

Type: int

number of failed attempts to reach current destination

OldFocalPoint

Type: Object.Vector

Modifiers: protected


OldFocus

Type: Actor

Modifiers: protected


OldMoveLocation

Type: Object.Vector


ReduceStanceAgainTime

Type: float


ScriptedRotationThreshold

Type: int


Default value: 182

SpecialGoal

Type: Actor

special goal (scripted, flag, replicator, gotoactor destination etc.)

SpecialGoalDistance

Type: float

used with special goal command to control "destination reached" distance (-1.0 means not used)

StopFiringAtEnemyTime

Type: float


TemporaryGoalDistance

Type: float

used to temporarily override special goal distance

TestMoveSpeed

Type: float


TestMoveTarget

Type: Actor


TestTacticalMoveType

Type: Actor.ETacticalMoveType


TryToHitBaseSpeed

Type: float

speed around which try to hit odds scaled

Default value: 300.0

TryToHitBaseSpeedOdds

Type: float

odds used at this speed

Default value: 0.5

TryToHitInstantBaseDistance

Type: float


Default value: 1024.0

TryToHitInstantBaseOddsMax

Type: float


Default value: 0.625

TryToHitInstantBaseOddsMin

Type: float


Default value: 0.125

TryToHitInstantMaxHitDistance

Type: float


Default value: 9999999.0

TryToHitInstantMinMissDistance

Type: float


Default value: 256.0

TryToHitProjectileBaseDistance

Type: float


Default value: 1024.0

TryToHitProjectileBaseOddsMax

Type: float


Default value: 1.0

TryToHitProjectileBaseOddsMin

Type: float


Default value: 0.25

TryToHitProjectileMaxHitDistance

Type: float


Default value: 4096.0

TryToHitProjectileMinMissDistance

Type: float


Default value: 256.0

TryToHitTossedBaseDistance

Type: float


Default value: 1024.0

TryToHitTossedBaseOddsMax

Type: float


Default value: 1.0

TryToHitTossedBaseOddsMin

Type: float


Default value: 0.25

TryToHitTossedMaxHitDistance

Type: float


Default value: 3000.0

TryToHitTossedMinMissDistance

Type: float


Default value: 256.0

U2PAdvanced

Type: U2PawnAdvanced


U2PBase

Type: U2PawnBase


U2PBasic

Type: U2PawnBasic


WanderDirectionExternal

Type: Object.Vector

used for resolving friendly interactions (clustering, defer to etc.)