Difference between revisions of "StringToRef"
Jump to navigation
Jump to search
imported>Jazzisparis |
imported>Jazzisparis |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = JIP | |origin = JIP | ||
|summary = Rebuilds a reference from a string generated by [[RefToString]]. | |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 11: | Line 11: | ||
|example = StringToRef $strVar | |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== | ==See Also== | ||
*[[RefToString]] | *[[RefToString]] | ||
*[[GetFormIDString]] | |||
*[[GetRawFormIDString]] | |||
[[Category:Functions_(JIP)]] | [[Category: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
(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.