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, U2, UE2Runtime, UT2003, 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[edit]

Property group 'Counter'[edit]

bShowMessage[edit]

Type: bool

Display count message?

CompleteColor[edit]

Type: Object.Color

NEW

CompleteFont[edit]

Type: Font

NEW

CompleteMessage[edit]

Type: string

Modifiers: localized

Completion message.

Default value: "Completed!"

CompleteMsgDuration[edit]

Type: float

NEW

CompletePitch[edit]

Type: float


Default value: 1.0

CompleteSound[edit]

Type: Sound

NEW

CompleteVolume[edit]

Type: float

NEW

Default value: 1.0

CountColor[edit]

Type: Object.Color

NEW

CountFont[edit]

Type: Font

NEW

CountMessage[edit]

Type: string

Modifiers: localized

Human readable count message.

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

CountMsgDuration[edit]

Type: float

NEW

CountPitch[edit]

Type: float

NEW

Default value: 1.0

CountSound[edit]

Type: Sound

NEW

CountVolume[edit]

Type: float

NEW

Default value: 1.0

NumToCount[edit]

Type: byte

Number to count down from.

Default value: 2

Internal variables[edit]

OriginalNum[edit]

Type: byte

Number to count at startup time.

Default values[edit]

Property Value
Texture Texture'Engine.S_Counter'

Functions[edit]

Events[edit]

BeginPlay[edit]

event BeginPlay ()

Overrides: Actor.BeginPlay


Other instance functions[edit]

Reset[edit]

function Reset ()

Overrides: Actor.Reset


Trigger[edit]

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

Overrides: Actor.Trigger