ScriptEvent:getTableValue

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

Parameters

integer index -- Index of the table.
integer value -- Which value to look up.

Result

float

Supported By

sdSysCallThread

Comments

  • This is the direct value from the table and does not do a lookup for interpolation, etc. To do that, use getTableValueExact.
  • If the index is -1, the result will be 0.
  • If the index is otherwise out of range, the game will likely crash or return garbage data.

Functionality

Returns an entry from a table.