Difference between revisions of "GetTypeInArray"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Created)
 
imported>Speedo
 
(2 intermediate revisions by the same user not shown)
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''':
Line 16: Line 15:
  2:    Float
  2:    Float


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

Latest revision as of 11:56, 26 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