I don't need to test my programs. I have an error-correcting modem.

UE2:AlarmTrigger (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> Trigger >> AlarmTrigger

Contents

Package: 
U2

AlarmTrigger:

[edit] Properties

[edit] Property group 'AlarmTrigger'

[edit] AlarmMessage

Type: string

Modifiers: localized

message string

[edit] AlarmMessages

Type: array<string>

Modifiers: localized

more text

[edit] AlarmSound

Type: Sound


Default value: Sound'U2.Alarm0'

[edit] AlarmSoundNoOverride

Type: bool


Default value: True

[edit] AlarmSoundPitch

Type: float


Default value: 1.0

[edit] AlarmSoundRadius

Type: float


[edit] AlarmSoundSlot

Type: Actor.ESoundSlot


[edit] AlarmSoundVolume

Type: float


Default value: 1.0

[edit] bAmbient

Type: bool

whether alarm uses ambient sound (default)

Default value: True

[edit] bBroadcast

Type: bool

whether to broadcast the message to all players

[edit] bInitiallyOn

Type: bool

whether alarm is on initially

[edit] bLetterboxText

Type: bool

Display the message in the lower right corner of the screen

[edit] bToggleable

Type: bool

whether alarm can be toggled with subsequent triggers

Default value: True

[edit] KeyBinding

Type: string


[edit] MessageTime

Type: float

how long to display our message

[edit] Internal variables

[edit] bDidFirst

Type: bool

Modifiers: private


[edit] bEnabled

Type: bool

Modifiers: private

set when alarm is on

[edit] Default values

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

[edit] Functions

[edit] Events

[edit] PostBeginPlay

event PostBeginPlay ()

Overrides: Trigger.PostBeginPlay


[edit] Other instance functions

[edit] GetPlayer

function PlayerController GetPlayer ()


[edit] SendMessage

function SendMessage (string Message)


[edit] ToggleAlarm

function ToggleAlarm (Actor Other, Pawn Instigator)


[edit] Trigger

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

Overrides: Actor.Trigger


[edit] TriggerActors

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

Overrides: Triggers.TriggerActors