ScriptEvent:getTableValueExact

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.
float value -- Position in the table to perform a lookup.

Result

float

Supported By

sdSysCallThread

Comments

  • 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 a valur from a table, performing any interpolation required for inbetween values.