Difference between revisions of "GetInArray"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
imported>Rlilewis
 
(4 intermediate revisions by 3 users not shown)
Line 7: Line 7:


Returns the item Value at Index in the array.
Returns the item Value at Index in the array.
*If there is no item existing item at Index or the array does not exist, it returns -1.
*If there is no item existing item at Index or the array does not exist, it returns 0.
 
==See Also==
* [[SetInArray]]


[[Category: Functions (Pluggy)]]
[[Category: Functions (Pluggy)]]
[[Category: Array Functions (Pluggy)]]

Latest revision as of 13:35, 18 March 2009


A command for Pluggy

Syntax:

(Index:ref / long / float) GetInArray ArrayID:long Index:long

Returns the item Value at Index in the array.

  • If there is no item existing item at Index or the array does not exist, it returns 0.

See Also[edit | edit source]