Difference between revisions of "StringToRef"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Jazzisparis
imported>Jazzisparis
 
Line 1: Line 1:
{{Function
{{Function
  |origin = JIP
  |origin = JIP
  |summary = Rebuilds a reference from a string generated by [[RefToString]] or [[GetFormIDString]].
  |summary = Rebuilds a reference from a string generated by [[RefToString]] or [[GetFormIDString]], or [[GetRawFormIDString]].
  |name = StringToRef
  |name = StringToRef
  |returnType = form:ref
  |returnType = form:ref
Line 16: Line 16:
*[[RefToString]]
*[[RefToString]]
*[[GetFormIDString]]
*[[GetFormIDString]]
*[[GetRawFormIDString]]
[[Category:Functions_(JIP)]]
[[Category:Functions_(JIP)]]
[[Category:Utility Functions (JIP)]]
[[Category:Utility Functions (JIP)]]

Latest revision as of 15:53, 2 April 2015

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

A function added by the JIP NVSE Plugin.

Description

Rebuilds a reference from a string generated by RefToString or GetFormIDString, or GetRawFormIDString.

Syntax

[help]
(form:ref) StringToRef refString:string

Example

StringToRef $strVar

Notes

  • The function will first resolve the mod index from the string, therefore changes in the load-order will not invalidate the reference ID.

See Also