09-09-20, 13:01 | #1 |
Member
Joined: Jun 2007
Posts: 245
|
Enable/disable triggers with script
Hi all,
Getting the hang of this scripting, only I can't seem to find how to enable/disable a trigger, for example: if you cross a certain tile a trigger in the room becomes activated, can this be done with the scripting process? |
09-09-20, 14:00 | #2 |
Member
Joined: Nov 2004
Posts: 1,531
|
There are two ways to do this, both of which are covered in this tutorial. The "traditional" method is using the Trigger_triggerer object, explained at the beginning of the tutorial. That approach does not need any scripting, but is a bit limited in use. The second approach is using globaltriggers in scripting, covered in the rest of the tutorial via various examples.
Last edited by SSJ6Wolf; 09-09-20 at 14:29. |
09-09-20, 14:05 | #3 |
Unverified
Joined: Jan 2008
Posts: 5,140
|
there is also the possibility to use a flipmap. place the trigger only in the flipmap and trigger the flipmap when needed.
|
09-09-20, 14:14 | #4 |
Member
Joined: Jun 2007
Posts: 245
|
Ok thanks guys will have a look at it!
|
Thread Tools | |
|
|