
09-11-2001, 12:39 PM
|
|
Registered User
|
 |
Join Date: Mar 2001
Posts: 825
|
|
|
~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)
|
|
|
|