A function added by the New Vegas Script Extender.
Returns the FormID number as a string in hexadecimal for the specified form.
(string) GetFormIDString ToGet:form
string_var formid let formid := GetFormIDString SunnyREF
; if you wanted to convert this to an int, you can use: int intFormID let intFormID := ToNumber formid, 1
- You can use this to convert a form to a string/int for use as an array map key. However, beware that FormIDs may change on game load, dependent on load order.