
03-26-2009, 08:11 PM
|
|
Finger lickin' good.
|
 |
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
|
|
triggeraction problem on gmaps
|
I'm trying to trigger an NPC on a gmap, but unless I am in the same 64x64 level as the NPC, it won't receive the trigger.
For example, If my character is at (20,20) on a 128x128 tile gmap, and the NPC I am sending a triggeraction to is at (70,20) it will not catch the trigger. However, if I move the NPC to (63,20) it will.
I checked the x,y location of the trigger, and it matches the NPC's x,y on the gmap, so that's not the problem. Even if the NPC is 4 tiles away from me, but we happen to be right at the split between levels, it won't catch the trigger.
I'm using a putnpc2(), so I could possibly just use findNPC( name ) and trigger it that way, but it would make my life a lot easier if triggeraction would work instead.
I'm not quite sure why my location even matters, the NPC is triggering itself. |
|
|
|