The SetLocalString() NWScript command stores the provided string on the specified object as a local variable with the given name.
Definition
void SetLocalString (object oObject, string sVarName,
string sValue)
object oObject
- The object on which the local variable will be stored.
string sVarName
- The name of the local variable, as a string.
string sValue
- The string to be stored.
See also