GetRawFormIDString

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::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