Thread: Npc Trigger
View Single Post
  #1  
Old 09-09-2011, 09:49 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by ffcmike View Post
Do the NPCs have a setshape or are they using showcharacter?
I believe they require such a shape in order to receive triggers.

If not you probably should include:

PHP Code:
this.setshape(13232); //32 pixels = 2 tiles in width and height 
You also need to make sure that the function is serverside/clientside according to where the area trigger was handled.
Objects definitely don't need to have a shape to receive triggers via obj.trigger()
__________________
Reply With Quote