| 07-08-2004, 08:44 PM | #1 |
I want this to be done without an altar, sorry for my noob question. But I'm new to map making, and I'm working on an archer map. *EDIT* Another question! Sorry, but how can I make it that once you kill a unit you get +1 gold for the kill. Once you reach 20 gold for killing 20 units, you are the victor in my game. That's what I'm trying to achieve, but I can't find any triggers that would go well with that idea. :( And I'm still trying to figure out, how I can make my units come back to life after they die, without an altar in the starting location where they start. |
| 07-08-2004, 10:00 PM | #2 |
Stats- Bounty Awared - Base 1 Stats - Bounty Awared - Number of Dice 0 Stats - Bounty Awared - Sides Per Die 0 i believe will make it have 1 gold per kill the trigger there is one about player - resource |
| 07-09-2004, 12:15 AM | #3 | |
Quote:
I tried that already, and it doesn't work. :( |
| 07-09-2004, 12:23 AM | #4 |
Use Code:
Revive Events Unit - A unit becomes revivable Conditions ([i]whatever[/i]) Actions Hero - Revive (Triggering Unit) at ([i]Where-ever[/i]) and Code:
Events Unit - A unit Dies Conditions [i]whatever[/i] Actions Add 1 to (Owner of(Killing Unit) current Gold |
| 07-09-2004, 01:04 AM | #5 |
The revive doesn't work sorry. I'm not using heros either I'm using units, archers. I gave them a hero classification through the triggers, but still it doesn't work. :( As for the gold thing, I need to make it a trigger that could assign 1 gold to a certain player killing an opponent's archer. So your trigger for the gold wouldn't work, and I already tried it before. :( Any more help please? *EDIT* OKAY! I managed to fix the revive problem! Fixing up some triggers, and throwing in some more, and changing the units around also, but that money problem still remains. Anybody know how I can deal with the gold trigger? For a specific player kill. Here's my idea... Player 1 (red) kills a unit Adds 1 to player 1(red) current gold. Is there anyway I can do that? So I can add it for Player 2 when he kills a unit, and Player 3, etc. ? |
| 07-09-2004, 01:43 AM | #6 |
If the units that being killed are player units, then this trigger might do the trick: Events: A unit Dies Conditions: (Owner of (triggering unit)) not equal to (Neutral passive) (Owner of (triggering unit)) not equal to (Neutral hostile) Actions: Player - Add 1 to (owner of (killing unit))'s current gold If the units that are being killed are not player controlled, then i hope this trigger will help: Events: A unit dies Conditions: (Owner of (triggering unit)) is equal to (neutral passive) (Owner of (triggering unit)) is equal to (neutral hostile) Choose one of those or both, depending on your map Actions: Player - Add 1 to (owner of (killing unit))'s current gold NOTE: Those triggers were hand typed. i am like ForgottenLight. I didn't have the editor in front of me. I hope these help! EDIT: I just looked at a previous post, about the bounty awards, and i might know why those were not working. You may not have bounty awards enables on the map. I think this action will turn bounty awards on. Action: Player - Turn Gives bounty On for Player 1 (Red) repeat this action for all players I hope you can find a way to get that trigger working! ![]() |
| 07-09-2004, 01:55 AM | #7 |
OMG! THANK YOU SO MUCH! Finally! Thanks alot man! :o |
| 07-09-2004, 07:43 AM | #8 |
Remember, don't forget to give Rep points to those that are of aid :-) |
| 07-09-2004, 02:15 PM | #9 |
Already did. ;) Thanks alot! :) |
| 07-09-2004, 03:10 PM | #10 |
Np. Always good to help out someone. |
