| 07-29-2002, 04:52 AM | #1 |
Guest | hey guyz new to the editor currently working on a starship troopers map need som help on triggers to add resources each kill and a script to move units for the computer that are created. any help would be appreciated. ill send the map to wc3campaigns when im finished with it |
| 07-29-2002, 02:44 PM | #2 |
Guest | Event: A unit owned by Player 1 (Red) Dies (repeat that for every player) Condition: (Owner of (Killing Unit)) is not equal to (Owner of (Killed Unit)) (Also, if you want different amounts of gold for each different unit, you would make a different trigger for each one, and put in a Unit-type comparison) Action: Give (Owner of (Killing Unit) ### Gold Actually, an easier way would to just set the player flag "Gives Bounty" on for the enemy player, and have them give the right amount of Bounty. |
