nwn

The SetLocalInt() NWScript command stores the provided integer on the specified object as a local variable with the given name.

Definition

void SetLocalInt (object oObject, string sVarName,
int nValue)

object oObject
The object on which the local variable will be stored.
string sVarName
The name of the local variable, as a string.
int nValue
The integer value to be stored.

See also