Gold for Kills?

T

TwiztidBgT

Guest
Ok iv'e been messing with theys triggers and reading alot of stuff. Im not a pro at this i can do almost anything but i cant seem to figure out theys damn Variables. How the hell do u use em lol. and i want it so When you kill a unit you will get 4 Gold. How do you do that? As far as i see it
Exp.
-Event: A Unit Dies
-Condition: Attacking unit Equals to player 3
-Action Add 4 Gold to Player 4.
-----
Basically that is what i want. Can some one plz help?:
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
JASS:
Bounty
    Events
        Map initialization
    Conditions
    Actions
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                Player - Turn Gives bounty On for (Player((Integer A)))


That makes all units of all players give gold on death. You edit the gold amount through the Object Editor.
 

Turnip

New Member
Reaction score
18
I created the trigger as you wanted and explained it, but this is BY FAR one of the most ineffective ways of doing what what you want.

Code:
Untitled Trigger 001
    Events
        Unit - A unit Dies
    Conditions
        (Owner of (Triggering unit)) Equal to Player 3 (Teal)
    Actions
        Player - Add 4 to (Owner of (Killing unit)) Current gold

EDIT: Not to mention, you can gain gold by killing yourself this way. AoW's way is the correct way you should do it.
 
T

TwiztidBgT

Guest
This is how it is comming up for me is this right? Im it dont seem right what am i missing?
------------------------
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
For each (Integer B) from 1 to 12, do (Player - Turn Gives bounty On for (Picked player))
------------------------
 

I_RULE_YOU

New Member
Reaction score
34
Code:
4 Gold Bounty
Events - Map Initialization
Conditions - 
Actions -
Player - Turn bounty on for Player 3 (Teal)

Then go to object editor, and put their bounty to 4 with no dice on bounty.
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
This is how it is comming up for me is this right? Im it dont seem right what am i missing?
------------------------
Untitled Trigger 001
Events
Map initialization
Conditions
Actions
For each (Integer B) from 1 to 12, do (Player - Turn Gives bounty On for (Picked player))
------------------------


Instead of Picked Player use
Conversion - Convert Player Index To Player, then click the highlighted blue area and replace it with Integer B.
 
T

TwiztidBgT

Guest
if then y doos he have and whats the point of having the "Integer" ?
JASS:
    ]Actions
        For each (Integer A) from 1 to 12, do (Actions)
            Loop - Actions
                Player - Turn Gives bounty On for (Player((Integer A)))
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
That turns on bounty for ALL players. His turns it on only for Player 3 (Teal).
 
T

TwiztidBgT

Guest
What if u set it to this?
JASS:
Untitled Trigger 001
    Events
        Map initialization
    Conditions
    Actions
        Player - Turn Gives bounty On for (Picked player)
 
T

TwiztidBgT

Guest
ok Thanks guys. If it dont work ill coem back otehr wise ill Message back and say if i got it but thx this sohuld work. :) Thx for all the help.
 

YourFace

<span style="color:#9C9C9C;"><strong>Runner Up - T
Reaction score
91
Edit
I created the trigger as you wanted and explained it, but this is BY FAR one of the most ineffective ways of doing what what you want.

Code:
Untitled Trigger 001
    Events
        Unit - A unit Dies
    Conditions
        (Owner of (Triggering unit)) Equal to Player 3 (Teal)
    Actions
        Player - Add 4 to (Owner of (Killing unit)) Current gold

EDIT: Not to mention, you can gain gold by killing yourself this way. AoW's way is the correct way you should do it.
you can add Owner of killing unit not equal to player 3, and it'll work fine
 
T

TwiztidBgT

Guest
Do u guys know where i can get the Jazz Editor? Im stuck with Blizzards. And theres so much more i need too do. And i cant use Weu i herd its bugged. So do u guys know where i can get it and what i need to do to get it running?
 
T

TwiztidBgT

Guest
it wont let me on the page it let me go to the Jass area but when i try to Dl it it wont let me. It says Fage not Found? Can u just send me a Zip or somthing or another way of getting it?
 

AoW_Hun7312

I'm a magic man, I've got magic hands.
Reaction score
76
Why would you need it if you barely know GUI? Also, you can edit JASS with your editor as it is. Create a new trigger and convert it to custom script.
 
T

TwiztidBgT

Guest
i need it so i can Edit Abilitys and stuff i know how to edit most things like is adi im alittel rusty thats all its been about 2 yrs i just got back from teh army bro. I cant help it. But i know most of it. I just forogt some things here adn there. and i need to be able to edit abilitys and make em and Items but i cant on the Editor.
 
T

TwiztidBgT

Guest
Yes i know Blizzard Editor cant do it But i need like WEU's editor so i can do it. "World Editor'. I cant edit my abilitys on Blizzards. It dosnt give u the option to do it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top