Quote:
Originally posted by Stefan
Ok here the correct version:
NPC Code:
tempvar = this.varfrom;
with (getnpc(name)) {
this.varto = tempvar;
}
The this. variable always belongs to
the current active npc, which is the npc
with the name 'name' when you do the
second assignment.
Currently there is no way to access the
this. vars of the executing npc.
|
Why not implement something like "that.var" when using with(getnpc) {}
So, it controls the "this." var of the other npc. That would be usefull.