I'm a doctor, not a mechanic

UE2:Counter (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> Actor >> Triggers >> Counter
Package: 
Gameplay
This class in other games:
RTNP, U1, UT, UT2003, UE2Runtime, U2, U2XMP

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?

CompleteMessage[edit]

Type: string

Modifiers: localized

Completion message.

Default value: "Completed!"

CountMessage[edit]

Type: string

Modifiers: localized

Human readable count message.

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

NumToCount[edit]

Type: byte

Number to count down from.

Default value: 2

Internal variables[edit]

OriginalNum[edit]

Type: byte


Default values[edit]

Property Value
bCollideActors False
Texture S_Counter

Functions[edit]

Events[edit]

BeginPlay[edit]

event BeginPlay ()

Overrides: Actor.BeginPlay


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions[edit]

Reset[edit]

function Reset ()

Overrides: Actor.Reset