hmm, doesnt seem to be working, through debug maneuvers the problem seems to be that the monster isnt recieving the flag....
NPC Code:
if (move) {
unset move;
this.x=strtofloat(#p(0));
this.y=strtofloat(#p(1));
}
which is called from the script:
NPC Code:
if (actionserverside) {
callnpcs strtofloat(#p(0)),move,#p(2),#p(3);
}
//#CLIENTSIDE
//note this isnt the full script, I cut only the client and serverside parts that are used here.
if (mousedown&&leftmousebutton&&strlen(#s(client.id)) >0) {
setplayerprop#c, #s(client.id);
triggeraction 0,0,serverside,subclass/summon mold,#s(client.id),#v(mousex),#v(mousey),move;
};
I believe this is what you said to do, I haven't ever used callnpc before though, so i wouldn't know.