Hi,
I would like to create an NPC that checks at a certain point if the player is still in range. It would be great checking this dynamically like
GETONTRIGMOB,x < GETONPARENT,x + 3 & GETONTRIGMOB,x > GETONPARENT,x - 3 & GETONTRIGMOB,y < GETONPARENT,y + 3 & GETONTRIGMOB,y > GETONPARENT,y - 3
But it seems that these expressions are evaluated as strings rather than mathematical Operations. Is there a way to tell XMLDialog to do the math or do I have to use hardcoded values and NPCs that can't walk?
Kind of a bit late I suppose, but I was toying around today....
Try using the INC,amt or INC,min,max keywords instead of + or - signs.....
Ah, right, that should do the trick. Thanks a lot :-)