View Single Post
  #7  
Old 06-11-2009, 06:50 PM
Gambet Gambet is offline
Registered User
Join Date: Oct 2003
Posts: 2,712
Gambet is on a distinguished road
Quote:
Originally Posted by Cubes View Post
can I use Andys XY triggeraction to trigger serverside in the same npc?
You are triggering serverside since it's a level npc. Level npcs trigger to the serverside to the function denoted by onActionFunctionName().

Quote:
Originally Posted by cbk1994 View Post
This ensures that you'll always get to that NPC, even if there's another NPC on top of it, which could cause problems when using triggeraction.
It isn't really a problem unless both NPCs have the same function name, but yes, probably better to rely on the object rather than an x/y position.
Reply With Quote