# Timer Set

Grammar — TimerSet duration timerName
FlagsFunction

Constructs and returns a TimerSet message based on the parameters. This message will create a timer on the actor that will last for the Duration parameter in game time seconds. The Timer Name parameter determines the name of the timer. When the timer expires a TimerExpired actor message is sent to the target actor, who would behave in a pre-determined fashion. Note: This is a relatively advanced actor concept, as it requires an actor to be setup to respond to a TimerExpired actor message to have any effect.

# Arguments

  • fixed — Duration
  • string — Timer Name

Returns — string<actormsg>

string libNtve_gf_TimerSet(
	fixed lp_duration,
	string lp_timerName,
);

Category: Actor / Message Constructors

# Examples

— None found —