UE2:Counter (U2)

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)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
U2 Object >> Actor >> Triggers >> Counter
Package:
Legend
This class in other games:

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?

CompleteMessage

Type: string

Modifiers: localized

Completion message.

Default value: "Completed!"

CountMessage

Type: string

Modifiers: localized

Human readable count message.

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

NumToCount

Type: byte

Number to count down from.

Default value: 2

Internal variables

OriginalNum

Type: byte


Default values

Property Value
Texture Texture'Legend.S_Counter'

Functions

Events

BeginPlay

event BeginPlay ()

Overrides: Actor.BeginPlay


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


Other instance functions

Reset

function Reset ()

Overrides: Actor.Reset