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

UE2:Counter (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Triggers >> Counter
Package: 
Engine
This class in other games:
RTNP, U1, UT, UT2003, UE2Runtime, U2, UT2004

NEW (mdf) Counter: waits until it has been triggered 'NumToCount' times, and then it sends Trigger/UnTrigger events to actors whose names match 'EventName'.

Properties

Property group 'Counter'

bShowMessage

Type: bool

Display count message?

CompleteColor

Type: Object.Color

NEW

CompleteFont

Type: Font

NEW

CompleteMessage

Type: string

Modifiers: localized

Completion message.

Default value: "Completed!"

CompleteMsgDuration

Type: float

NEW

CompletePitch

Type: float


Default value: 1.0

CompleteSound

Type: Sound

NEW

CompleteVolume

Type: float

NEW

Default value: 1.0

CountColor

Type: Object.Color

NEW

CountFont

Type: Font

NEW

CountMessage

Type: string

Modifiers: localized

Human readable count message.

Default value: "Only %i more to go..."

CountMsgDuration

Type: float

NEW

CountPitch

Type: float

NEW

Default value: 1.0

CountSound

Type: Sound

NEW

CountVolume

Type: float

NEW

Default value: 1.0

NumToCount

Type: byte

Number to count down from.

Default value: 2

Internal variables

OriginalNum

Type: byte

Number to count at startup time.

Default values

Property Value
Texture Texture'Engine.S_Counter'

Functions

Events

BeginPlay

event BeginPlay ()

Overrides: Actor.BeginPlay


Other instance functions

Reset

function Reset ()

Overrides: Actor.Reset


Trigger

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

Overrides: Actor.Trigger