| 01-11-2003, 02:15 AM | #1 |
Guest | Okay, I just made a trigger that I thought was really cool just because of the craziness of it. Er...it's hard to explain. Here's the trigger. Events: Map Initialization Actions: Pick all players in (All players controlled by a User player) and do (Set PlayerHero[(Player number of (Picked player))] = (Random unit from (Units owned by (Picked player)))) One trigger, one action, a value in an array for each player to the one unit they control at map initialization. Now, it may be that it would have been easier to just copy-paste and change the player number, but that was the kind of teduim I hated from SC editing. |
| 01-11-2003, 02:24 AM | #2 |
Yes, things are much better from the good (bad) old days. I remember all of the things that had to be done in Staredit that can be done now in one trigger easily. I just wish Blizzard gave us a little more... |
