View Single Post
  #8  
Old 03-17-2002, 11:20 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
well, the syntax is:
triggeraction x,y,actionname,param(s);


using this will call actionname on the player/npc on that x and y

example:

NPC Code:

if (playerchats&&strequals(#c,trigger)) {
triggeraction x,y,triggerme,#a;
}

if (actiontriggerme) {
say2 I was triggered by #p(0);
}



this is just a way to use triggeraction in one npc but, you could take the if (action....) part and put it in a seperate npc, and just change the x and y varibles in the first npc

__________________
[signature]insert here[/signature]
Reply With Quote