| 08-22-2004, 05:34 PM | #1 |
Okay, I've got a problem... This may sound like a stupid question but I'm bad with triggers so I need some help ^_^ .I'm trying to make it so that when a Hero kills "Red Dragon" he and his team get 200 gold and 15 Wisdom (Lumber but I changed it to suit the map ;) ). I can't seem to find out how to only give the minerals to that player and his allies. This is what I got so far: EVENTS: Unit-Red dragon 0088 <gen> Dies CONDITIONS: ACTIONS: Quest - Mark (last created quest) as completed Trigger - Turn off (this trigger) Help is very apprieciated :). |
| 08-22-2004, 06:36 PM | #2 | |
Quote:
Player - add 200 gold to (owner of unit(killing unit)) same for lumber, if you want the gold and wood to display like bounty it will be more difficult tho. |
| 08-22-2004, 07:08 PM | #3 | |
Okay, but how do I add it to the allies too if they aren't the killing unit? :S Quote:
|
| 08-24-2004, 10:29 AM | #4 |
At map initialization Actions Add Player 1 to playergroup1 Add Player 2 to playergroup1 Add Player 3 to playergroup1 Add Player 4 to playergroup1 Add Player 5 to playergroup1 Add Player 6 to playergroup2 Add Player 7 to playergroup2 Add Player 8 to playergroup2 Add Player 9 to playergroup2 Add Player 10 to playergroup2 Then when a person kills red dragon If owner of (killing unit) is in playergroup1 then pick every player in playergroup1 and add 200 to (picked player) current gold else if owner of (killing unit) is in playergroup1 then pick every player in playergroup2 and add 200 to (picked player) current gold else do nothing |
| 08-24-2004, 03:44 PM | #5 | |
Quote:
|
