Once I get that upgrade to 36-hour days, I will tackle that. – Mychaeel

UE1:ScriptedPawn properties (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT Object >> Actor >> Pawn >> ScriptedPawn (properties)
ScriptedPawn properties in other games:
RTNP, U1
Other member categories for this class:
instance functions

Properties[edit]

Property group 'AI'[edit]

bHateWhenTriggered[edit]

Type: bool


bIgnoreFriends[edit]

Type: bool

don't react to friend's noises (and make their enemy yours)

bIsBoss[edit]

Type: bool


bQuiet[edit]

Type: bool


bTeamLeader[edit]

Type: bool


FirstHatePlayerEvent[edit]

Type: name


TeamTag[edit]

Type: name


Property group 'Combat'[edit]

Aggressiveness[edit]

Type: float

0.0 to 1.0 (typically)

bHasRangedAttack[edit]

Type: bool

can attack from beyond melee range

bIsWuss[edit]

Type: bool

always takes hit

bLeadTarget[edit]

Type: bool

lead target with projectile attack

Default value: True

bMovingRangedAttack[edit]

Type: bool

can perform ranged attack while moving

bWarnTarget[edit]

Type: bool

warn target when projectile attack

Default value: True

ProjectileSpeed[edit]

Type: float


Default value: 800.0

RangedProjectile[edit]

Type: class<Actor>


ReFireRate[edit]

Type: float

chance of shooting multiple times in one attack

TimeBetweenAttacks[edit]

Type: float

seconds - modified by difficulty

Default value: 1.0

Property group 'Orders'[edit]

bDelayedPatrol[edit]

Type: bool


bNoWait[edit]

Type: bool

Friendly creature no wait going to alarm

Orders[edit]

Type: name


OrderTag[edit]

Type: name

tag of object referred to by orders

Property group 'Pawn'[edit]

CarcassType[edit]

Type: class<Carcass>


Default value: Class'UnrealShare.CreatureCarcass'

Property group 'Sounds'[edit]

Acquire[edit]

Type: Sound


Fear[edit]

Type: Sound


Roam[edit]

Type: Sound


Threaten[edit]

Type: Sound


Internal variables[edit]

bCanBePissed[edit]

Type: bool


bCanDuck[edit]

Type: bool


bCanFire[edit]

Type: bool

used by TacticalMove and Charging states

bCanSpeak[edit]

Type: bool


bChangeDir[edit]

Type: bool

tactical move boolean

bClearShot[edit]

Type: bool


bCrouching[edit]

Type: bool


bFiringPaused[edit]

Type: bool


bFirstHatePlayer[edit]

Type: bool


bFirstShot[edit]

Type: bool


Default value: True

bFrustrated[edit]

Type: bool


bGreenBlood[edit]

Type: bool


bInitialFear[edit]

Type: bool


bIsSpeaking[edit]

Type: bool


bMoraleBoosted[edit]

Type: bool


bReadyToAttack[edit]

Type: bool

can attack again

bSpecialGoal[edit]

Type: bool


bSpecialPausing[edit]

Type: bool


bStrafeDir[edit]

Type: bool


bTeamSpeaking[edit]

Type: bool


Hated[edit]

Type: Pawn


HidingSpot[edit]

Type: Object.Vector


HuntStartTime[edit]

Type: float


LastPainAnim[edit]

Type: name


LastPainTime[edit]

Type: float


NextAnim[edit]

Type: name

used in states with multiple, sequenced animations

numHuntPaths[edit]

Type: int


OldEnemy[edit]

Type: Pawn


OrderObject[edit]

Type: Actor

object referred to by orders (if applicable)

RoamStartTime[edit]

Type: float


Team[edit]

Type: int


TeamID[edit]

Type: int


TeamLeader[edit]

Type: ScriptedPawn


WalkingSpeed[edit]

Type: float


Default value: 0.4

Default values[edit]

Property Value
AccelRate 200.0
AirSpeed 320.0
bFixedStart True
HearingThreshold 0.3
Land Sound'UnrealShare.Generic.Land1'
WaterStep Sound'UnrealShare.Generic.LSplash'