Difference between revisions of "GetRawFormIDString"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
(created)
 
imported>Jazzisparis
 
Line 16: Line 16:
==See Also==
==See Also==
*[[GetFormIDString]]
*[[GetFormIDString]]
*[[StringToRef]]
*[[ToNumber]]
*[[ToNumber]]
*[[ToString]]
*[[ToString]]

Latest revision as of 15:52, 2 April 2015

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the FormID number as a string in hexadecimal for the specified reference variable or array element, regardless of whether or not it is a valid FormID.

Syntax

[help]
(string) GetRawFormIDString ToGet:Multi

Example

string_var formid
let formid := GetFormIDString MyArray[0]

Notes

  • You can use this to convert a form for use as an array map key. However, beware that FormIDs may change on game load, dependent on load order.

See Also