• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Which is more efficient ?

Status
Not open for further replies.
Level 33
Joined
Mar 27, 2008
Messages
8,035
I have 4 triggers that needs to be checked once every 0.03 seconds.

Method 1:
Create a separate 4 Triggers that is independent to each other
Meaning that if Trigger 1 is ON, there is no guarantee that Trigger 2 is ON too, it truly depends on the situation if that Trigger is needed or not (Turn off)

Method 2:
Gather them all in 1 trigger but inside that trigger, it has this 4 separate actions, meaning each will fire off even when they are not needed. If Action 1 is fired off, Action 2 will follow it too.

I have 4 Unit Groups that works as "moving the unit inside that unit group" action.
 
Status
Not open for further replies.
Top