ScriptEvent:argvf

From Mod Wiki
Revision as of 11:00, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

integer index -- Index of the string to look up.

Result

float

Supported By

sdSysCallThread

Comments

  • If the index is out of range, or the string cannot be converted to a float, then the result will be 0.
  • You can find out the current number of strings using argc.

Functionality

Returns the string from the action command at the specified index converted to a float.