RefMapArrayGetType

From the Fallout3 GECK Wiki
Revision as of 23:28, 24 April 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the value-type of the element with a <i>Key</i> matching the specified <i>Object</i>, in the specified RefMap Array. Value T...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Returns the value-type of the element with a Key matching the specified Object, in the specified RefMap Array.

Value Types:

0	None (no such key/RefMap not defined)
1	Float
2	Reference
4	String

Syntax

[help]
(type:int) reference.RefMapArrayGetType arrName:string baseForm:ref 

Or:

(type:int) reference.RefMapGetType arrName:string baseForm:ref

Example

set iType to RaulRef.RefMapArrayGetType "someRefMap"
set iType to RefMapGetType "someRefMap" ArmorCombat

See Also