![]() |
triggeraction
What is triggeraction x,y,action,params;?
and what can it be used for? Can someone give an example to on how to use it? |
One NPC gives the command:
NPC Code:triggeraction <wherex>,<wherey>,<name>,<parameters>,(extraparam) ,(extraparam); and any npc on the spot (wherex,wherey) with this: NPC Code: can take the parameters listed and use them ( #p(0) - #p(n) ) Hope that helps...i'm trying to get a little help aswell on the topic :P [edit] Example being that you want to use a key to open a door, so the key would have the trigger action with wherex and wherey being in front of the player (playerx+1.5,playery+1), and the door would have the action<name>. The name also has to be the same throughout, and the parameters can be different depending on what you want to do with the triggeraction. (is so bored...so keeps watching the forums)[/edit] |
and btw. nearly every new command (and what it's for) is listed in the newfeatures and if this doesn't help you could have searched for the word triggeraction because there were many threads about this...
|
| All times are GMT +2. The time now is 04:34 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.