I see what you mean. I just tested the trigger using a Lair as the special building - even had one Lair's death trigger the death of other Lairs, and that didn't cause any errors. My only guess was that it had to do with the death of one special building causing a chain of the trigger repeating itself.
I did get an error when I placed 500+ hostile zerglings to be killed on death of a hostile Lair (I tried this with just having one Lair and having three Lairs owned by hostile.) It said "Too many threads." If that's the same error you're getting, maybe it's just the sheer amount of units being killed. If you do figure it out, I'm sure we'd all be interested to know what was wrong.
There is an Event type that fires when unit is "issued an order to Any Ability Command.." but it also fires just when you tell it to move, since that's an ability. It looks like the easiest way to do what you want would be to just put 4 events in one trigger, so that each spell performs the action. Unless you want each spell to raise your variable by a different amount or something.
As far as I know, there's no way to edit, or even copy for variables, the vast majority of the stuff in the data editor with triggers. Which sucks. Would love to be wrong about this.
You might have the Equip Enabled box checked in your bags slots that are just supposed to be holding items. Check out your slot settings for each of your bag Item Containers.
The way I'm reading your trigger, you're not defining what U is before you tell the trigger to kill all of U. You're only checking to see if the dying unit is a type. Try setting U to unit type of triggering unit before your unit group action. I think your action is trying to kill every No Unit in the whole map.
0
I see what you mean. I just tested the trigger using a Lair as the special building - even had one Lair's death trigger the death of other Lairs, and that didn't cause any errors. My only guess was that it had to do with the death of one special building causing a chain of the trigger repeating itself.
I did get an error when I placed 500+ hostile zerglings to be killed on death of a hostile Lair (I tried this with just having one Lair and having three Lairs owned by hostile.) It said "Too many threads." If that's the same error you're getting, maybe it's just the sheer amount of units being killed. If you do figure it out, I'm sure we'd all be interested to know what was wrong.
0
There is an Event type that fires when unit is "issued an order to Any Ability Command.." but it also fires just when you tell it to move, since that's an ability. It looks like the easiest way to do what you want would be to just put 4 events in one trigger, so that each spell performs the action. Unless you want each spell to raise your variable by a different amount or something.
0
Each Weapon connects to at least one Effect, and Effects get their sounds/visuals from Actors. So Actors are what you're looking for.
0
As far as I know, there's no way to edit, or even copy for variables, the vast majority of the stuff in the data editor with triggers. Which sucks. Would love to be wrong about this.
0
You might have the Equip Enabled box checked in your bags slots that are just supposed to be holding items. Check out your slot settings for each of your bag Item Containers.
0
The way I'm reading your trigger, you're not defining what U is before you tell the trigger to kill all of U. You're only checking to see if the dying unit is a type. Try setting U to unit type of triggering unit before your unit group action. I think your action is trying to kill every No Unit in the whole map.