HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Creating/Destroying Triggers Opinion

05-28-2006, 07:11 PM#1
StockBreak
In your opinion is sometimes better to create/destroy triggers with JASS instead of adding/editing events (for example when you use the "Trigger - Add New Event" many times)? I mean, when is it useful to create dynamic triggers? Give your opinions freely, thanks.
05-28-2006, 07:39 PM#2
The)TideHunter(
Well, i dont know whats best and faster etc.
But i would just create a new trigger and remove the old 1.
05-28-2006, 07:54 PM#3
Anitarf
When is it useful to create dynamic triggers? What kind of question is that?

When you need them to be dynamic, duh.
05-28-2006, 11:03 PM#4
StockBreak
Quote:
Originally Posted by Anitarf
When is it useful to create dynamic triggers? What kind of question is that?

When you need them to be dynamic, duh.
So, my next question is: WHEN do I need to prefer dynamic triggers instead of normal ones? Thanks.
05-28-2006, 11:50 PM#5
SentryIII
It's best to delete the old trigger because you can't edit or remove the events already in the trigger. If you just leave the old events in there, they'll still be able to run the trigger, which is most likely not what you want. This applies to things like when you want a dynamic region to run triggers.
05-29-2006, 09:26 AM#6
StockBreak
Quote:
Originally Posted by SentryIII
It's best to delete the old trigger because you can't edit or remove the events already in the trigger. If you just leave the old events in there, they'll still be able to run the trigger, which is most likely not what you want. This applies to things like when you want a dynamic region to run triggers.
Normally I use conditions such as "XXX unit has AmazingBash buff" or something similar in order to prevent this problem, but actually it can be useful with regions. Thanks.