Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

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

Property group 'AlarmTrigger'

AlarmMessage

Type: string

Modifiers: localized

message string

AlarmMessages

Type: array<string>

Modifiers: localized

more text

AlarmSound

Type: Sound


Default value: Sound'U2.Alarm0'

AlarmSoundNoOverride

Type: bool


Default value: True

AlarmSoundPitch

Type: float


Default value: 1.0

AlarmSoundRadius

Type: float


AlarmSoundSlot

Type: Actor.ESoundSlot


AlarmSoundVolume

Type: float


Default value: 1.0

bAmbient

Type: bool

whether alarm uses ambient sound (default)

Default value: True

bBroadcast

Type: bool

whether to broadcast the message to all players

bInitiallyOn

Type: bool

whether alarm is on initially

bLetterboxText

Type: bool

Display the message in the lower right corner of the screen

bToggleable

Type: bool

whether alarm can be toggled with subsequent triggers

Default value: True

KeyBinding

Type: string


MessageTime

Type: float

how long to display our message

Internal variables

bDidFirst

Type: bool

Modifiers: private


bEnabled

Type: bool

Modifiers: private

set when alarm is on

Default values

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

Functions

Events

PostBeginPlay

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


Other instance functions

GetPlayer

function PlayerController GetPlayer ()


SendMessage

function SendMessage (string Message)


ToggleAlarm

function ToggleAlarm (Actor Other, Pawn Instigator)


Trigger

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

Overrides: Actor.Trigger


TriggerActors

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

Overrides: Triggers.TriggerActors