Dark Dreams of Furiae - a new module for NWN:EE! Buy now
variable off activate item?
The following script isn't pulling the variable off the activated item. The PC gets the message string without the variable so I know the Unique Cast Spell is working. What else am I missing to grab that local variable off the item being activated?
oPC = GetItemActivator();
string vName = GetLocalString(OBJECT_SELF, "NAME");
SendMessageToPC(GetItemActivator(), "VAR NAME IS " + vName);
thanks in advance.