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

UE2:AlarmTrigger (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> Trigger >> AlarmTrigger
Package: 
U2

AlarmTrigger:

Properties[edit]

Property group 'AlarmTrigger'[edit]

AlarmMessage[edit]

Type: string

Modifiers: localized

message string

AlarmMessages[edit]

Type: array<string>

Modifiers: localized

more text

AlarmSound[edit]

Type: Sound


Default value: Sound'U2.Alarm0'

AlarmSoundNoOverride[edit]

Type: bool


Default value: True

AlarmSoundPitch[edit]

Type: float


Default value: 1.0

AlarmSoundRadius[edit]

Type: float


AlarmSoundSlot[edit]

Type: Actor.ESoundSlot


AlarmSoundVolume[edit]

Type: float


Default value: 1.0

bAmbient[edit]

Type: bool

whether alarm uses ambient sound (default)

Default value: True

bBroadcast[edit]

Type: bool

whether to broadcast the message to all players

bInitiallyOn[edit]

Type: bool

whether alarm is on initially

bLetterboxText[edit]

Type: bool

Display the message in the lower right corner of the screen

bToggleable[edit]

Type: bool

whether alarm can be toggled with subsequent triggers

Default value: True

KeyBinding[edit]

Type: string


MessageTime[edit]

Type: float

how long to display our message

Internal variables[edit]

bDidFirst[edit]

Type: bool

Modifiers: private


bEnabled[edit]

Type: bool

Modifiers: private

set when alarm is on

Default values[edit]

Property Value
SoundRadius 128.0
SoundVolume 150
Texture Texture'U2.S_AlarmTrigger'

Functions[edit]

Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


Other instance functions[edit]

GetPlayer[edit]

function PlayerController GetPlayer ()


SendMessage[edit]

function SendMessage (string Message)


ToggleAlarm[edit]

function ToggleAlarm (Actor Other, Pawn Instigator)


Trigger[edit]

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger


TriggerActors[edit]

protected function TriggerActors (Actor TriggerSrc, class<ActorTriggerClass, Actor Other, Pawn Instigator, name TriggerEvent, bool bTriggerNPCs)

Overrides: Triggers.TriggerActors