FindFloatInArray

From the Oblivion ConstructionSet Wiki
Revision as of 14:57, 18 February 2008 by imported>Speedo (Remove beta tag)
Jump to navigation Jump to search


A command for Pluggy

Syntax:

(Index:float) FindFloatInArray ArrayID:long Value:float Start:long Stop:long

Returns the index of the first occurrence of Value between indexes Start & Stop in the array.

  • This can only be used to find floats.
  • Start is optional. By default it is 0
    • Stop is optional. By default it is the last index of the array
  • If the value is not in the array or the array does not exist, it returns -1.