Thread: Trigger Action
View Single Post
  #5  
Old 09-11-2001, 12:39 PM
entravial entravial is offline
Registered User
entravial's Avatar
Join Date: Mar 2001
Posts: 825
entravial is on a distinguished road
Send a message via ICQ to entravial Send a message via AIM to entravial Send a message via Yahoo to entravial
~AlphaFlame~

Trigger action causes an action to happen at a specified x/y... format:

triggeraction x,y,name,params;

A NPC can detect a triggeraction by using if (actionname ).

By the way, the triggeraction has to be at the x/y of a non-transparent, visible part of the NPC...

Now, take KJS's example. It causes an action "warp" to be happened at 1,1. The NPC at 0,0 then picks up this action with it's if (actionwarp) line, and then proceeds to warp the player.
__________________


If the post says ~AlphaFlame~, that's who's posting. If not, it's Entravial (owner)
Reply With Quote