• 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.

[General] Triggers and Abilities?

Status
Not open for further replies.
Level 7
Joined
Nov 18, 2012
Messages
272
I want to trigger multiple abilities. However I don't want to slow down the engine.

How is it better to make them?

1) Stack them all in one trigger, with a if/then/else, like this:
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to 1
    • Then - Actions
      • Do what you have to do
    • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Ability being cast) Equal to 2
        • Then - Actions
          • Do what you have to do
        • Else - Actions
          • etc.
2) Stack them in same trigger, but not in one condition.
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to 1
    • Then - Actions
      • Do what you have to do
    • Else - Actions
      • Do Nothing
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • (Ability being cast) Equal to 2
    • Then - Actions
      • Do what you have to do
    • Else - Actions
      • Do Nothing
3) Make a separate trigger for every one of them.
 
Status
Not open for further replies.
Top