Difference between revisions of "GetTypeInArray"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>Speedo
(Remove beta tag)
Line 1: Line 1:
__NOTOC__
__NOTOC__


{{Beta}}
A command for [[:Category:Pluggy|Pluggy]]
A command for [[:Category:Pluggy|Pluggy]]


Line 8: Line 7:


Returns the item type at Index in the array.
Returns the item type at Index in the array.
*If the array does not exists, it returns -1.
*If the array does not exist, it returns -1.


  '''Index Types''':
  '''Index Types''':

Revision as of 15:01, 18 February 2008


A command for Pluggy

Syntax:

(Type: short) GetTypeInArray ArrayID:long Index:long

Returns the item type at Index in the array.

  • If the array does not exist, it returns -1.
Index Types:
-1:   Empty
0:    Integer (long/short)
1:    Reference
2:    Float