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

UE2:EarthquakeTrigger (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Triggers >> Trigger >> EarthquakeTrigger
Package: 
Legend
This class in other games:
U2XMP

EarthquakeTrigger.uc $Author: Mfox $ $Date: 7/29/02 7:58p $ $Revision: 8 $

Properties[edit]

Property group 'EarthquakeTrigger'[edit]

AmbientSoundStr[edit]

Type: string

sound for duration of quake

BaseTossMagnitude[edit]

Type: float

toss Magnitudenitude at epicenter, 0 at radius

Default value: 2500000.0

bTossNPCs[edit]

Type: bool

if true, NPCs in area are tossed around

Default value: True

bTossPCs[edit]

Type: bool

if true, PCs in area are tossed around

Default value: True

Duration[edit]

Type: float

how long quake should last

Default value: 10.0

MaxTossedMass[edit]

Type: float

if bTossPawns true, only pawns <= this mass are tossed

Default value: 500.0

Radius[edit]

Type: float

radius of quake

Default value: 2048.0

ShakeMagnitude[edit]

Type: float

roll Magnitudenitude at epicenter, 0 at radius

Default value: 60.0

ShakeSoundStr[edit]

Type: string

sound for each shake

TimeBetweenShakes[edit]

Type: float

time between each shake

Default value: 0.5

Internal variables[edit]

TimeRemaining[edit]

Type: float

Modifiers: private


Default values[edit]

Property Value
InitialState '
Texture Texture'Legend.S_QuakeTrigger'

States[edit]

Waiting[edit]

Waiting.Timer[edit]

event Timer ()

Overrides: Trigger.Timer (global)


Waiting.Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger (global)


Waiting.ShakePawn[edit]

function ShakePawn (Pawn P)