| 11-23-2003, 11:03 PM | #1 |
Aight, Theres lets say 34+ "Puppies" and the player clicks one of them, and selects a move callled "grow up" now this move will kill/remove 12 of the puppies and create 1 doggy(super unit) now i get how to do this, except how do i get it to pick 12 puppies and then kill them |
| 11-23-2003, 11:13 PM | #2 |
Code:
Unit Group - Pick every unit in (Random 12 units from (Units in (Playable map area*) matching ((Unit-type of (Matching unit)) Equal to Puppy))) and do (Unit - Kill** (Picked unit)) ** - Or Explode, whatever works for you. |
