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

Property group 'AI'

bHateWhenTriggered

Type: bool


bIgnoreFriends

Type: bool

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

bIsBoss

Type: bool


bQuiet

Type: bool


bTeamLeader

Type: bool


FirstHatePlayerEvent

Type: name


TeamTag

Type: name


Property group 'Combat'

Aggressiveness

Type: float

0.0 to 1.0 (typically)

bHasRangedAttack

Type: bool

can attack from beyond melee range

bIsWuss

Type: bool

always takes hit

bLeadTarget

Type: bool

lead target with projectile attack

Default value: True

bMovingRangedAttack

Type: bool

can perform ranged attack while moving

bWarnTarget

Type: bool

warn target when projectile attack

Default value: True

ProjectileSpeed

Type: float


Default value: 800.0

RangedProjectile

Type: class<Actor>


ReFireRate

Type: float

chance of shooting multiple times in one attack

TimeBetweenAttacks

Type: float

seconds - modified by difficulty

Default value: 1.0

Property group 'Orders'

bDelayedPatrol

Type: bool


bNoWait

Type: bool

Friendly creature no wait going to alarm

Orders

Type: name


OrderTag

Type: name

tag of object referred to by orders

Property group 'Pawn'

CarcassType

Type: class<Carcass>


Default value: Class'UnrealShare.CreatureCarcass'

Property group 'Sounds'

Acquire

Type: Sound


Fear

Type: Sound


Roam

Type: Sound


Threaten

Type: Sound


Internal variables

bCanBePissed

Type: bool


bCanDuck

Type: bool


bCanFire

Type: bool

used by TacticalMove and Charging states

bCanSpeak

Type: bool


bChangeDir

Type: bool

tactical move boolean

bClearShot

Type: bool


bCrouching

Type: bool


bFiringPaused

Type: bool


bFirstHatePlayer

Type: bool


bFirstShot

Type: bool


Default value: True

bFrustrated

Type: bool


bGreenBlood

Type: bool


bInitialFear

Type: bool


bIsSpeaking

Type: bool


bMoraleBoosted

Type: bool


bReadyToAttack

Type: bool

can attack again

bSpecialGoal

Type: bool


bSpecialPausing

Type: bool


bStrafeDir

Type: bool


bTeamSpeaking

Type: bool


Hated

Type: Pawn


HidingSpot

Type: Object.Vector


HuntStartTime

Type: float


LastPainAnim

Type: name


LastPainTime

Type: float


NextAnim

Type: name

used in states with multiple, sequenced animations

numHuntPaths

Type: int


OldEnemy

Type: Pawn


OrderObject

Type: Actor

object referred to by orders (if applicable)

RoamStartTime

Type: float


Team

Type: int


TeamID

Type: int


TeamLeader

Type: ScriptedPawn


WalkingSpeed

Type: float


Default value: 0.4

Default values

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