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

[Trigger] Too Many Cast Events?

Status
Not open for further replies.
Level 7
Joined
Nov 4, 2006
Messages
153
Hey everyone. I've never encountered this problem really but, I'll ask anyways.
I have a lot of custom abilities and they often use the "Unit Starts the effect of an ability" event. Now I have >50 triggers with that event. Is this bad -- Triggers with the same event? I thought it might be since every cast will fire off 50 triggers only to check the condition.
Is having one trigger with the casting event and then having a bunch of "if else" statements to check the ability being casted, then call another trigger which does the effects of the spells better? (since it is just essentially putting the 50 triggers together into one)
Or is insignificant?
 
Status
Not open for further replies.
Top