| 11-26-2006, 12:33 PM | #1 |
#1 - how would I do this? pick 12 units of unit type owned by certain player and kill them. 12 out of a bunch, but it can be any 12 of them. #2 - how can i make this skill? i already have one but it is working sort of wrongly so i want to start from the beginning: if you select any amount of unit type that have the spell and press the hotkey or cast the spell, ALL of them cast the spell, not just the first person in the selection. |
| 11-26-2006, 01:03 PM | #2 |
#2: per trigger you can get all Units currently selected by the player. you remove the casting unit from that group, and then order every unit in that group to cast the ability being cast (on the target of ability being cast) that simple :> |
| 11-26-2006, 02:30 PM | #3 |
#1: Pick all units of the needed type into 1 unit-group, make a loop from 1 to 12 and kill a random unit. |
| 11-26-2006, 09:40 PM | #4 | |
Quote:
The problem I was having is that the trigger that does this also gets triggered when the others cast it. so like if you select 12 units and hit the hotkey, each one of them casting it would also set off the trigger to cast it again for all of them. |
| 11-26-2006, 10:02 PM | #5 |
Turn the trigger off, then turn it back on once it's finished. |
