Difference between revisions of "ScriptEvent:allocTargetTimer"

From Mod Wiki
 
(No difference)

Latest revision as of 10:56, 5 November 2007

Parameters

string name -- Name of the timer to look up.

Result

integer

Supported By

sdSysCallThread

Comments

  • The function name refers to these as timers merely because that is their most common use, to keep track of charge bars.
  • If a timer with the specified name does not already exist, a new one will be created.
  • The default value of a newly created timer is -1.

Functionality

Returns the handle to a named float field for all clients which is network synced only for the client currently being watched.