| 06-06-2002, 08:18 PM | #1 |
Guest | i dont know if my code works like its sopose to...sometimes i think that when one of MY units die then i get gold...anyways: Events Unit - A unit owned by player 1 (red) dies Unit - A unit owned by player 2 (blue) dies ... Actions Player - set(owner of (triggering unit)) curent gold to (((owner of (triggering unit)) curent gold) + 2) [Noxz] |
| 06-06-2002, 09:03 PM | #2 |
Why do u have set? And not add? Just a question :D |
| 06-06-2002, 10:22 PM | #3 |
Guest | but i still need help with it... |
| 06-07-2002, 02:38 AM | #4 |
Errr. You do get gold when one of your units dies. That's what the trigger looks like. A unit owned by player 1 dies, so the owner of the triggering unit is player 1. So you get gold whenever one of your unit dies. |
| 06-07-2002, 03:10 PM | #5 |
Guest | well i dont want that...does anybody know how to do it like in castles...i looked threw the ctriggers for that but cant find it..please reply back soon [Noxz] |
| 06-07-2002, 05:06 PM | #6 |
Check in the mapper faq thread using the solution for this problem. Problem: How do I setup bounty for all players in 1.30? http://www.wc3campaigns.com/forums/s...=&threadid=584 |
| 06-07-2002, 05:12 PM | #7 |
You can use bounties for neutral units and there is some custom code called Player Bounties that u could use to enable this for players. All u have to do is find the code on an map. It's not setup like Event, Codition, and Action; the entire thing is in pure code. |
| 06-07-2002, 05:20 PM | #8 |
Guest | so what exactly is a bounty?? |
