- 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?
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?