[dismiss]
This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.
StrLoad
Jump to navigation
Jump to search
Syntax:
StrLoad loadFrom:string loadTo:stringID [quest:quest object]
Load a string previously saved to a script variable sequence to a string's value.
StrLoad looks for a variable with the name variableName in the current script (or quest if given).
It writes the first variable's value to the first character of the string, then the next variable to second character and so on until it finds a variable with the value 0.
Example:
short string begin OnActivate set string to StrNew "DefaultName" StrLoad "nameStr0" string myQuest StrSetName string player end