Difference between revisions of "ScriptEvent:getTableValueExact"

From Mod Wiki
 
(No difference)

Latest revision as of 16:56, 5 November 2007

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.