• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[General] Gold from Player 12

Status
Not open for further replies.
Level 1
Joined
May 31, 2013
Messages
4
Hello everyone sorry if I write bad I do not speak English well ..
I would like to know how to set a gain of gold by the killing of a unit of a player (with the animation +1/2/3 etc.)
thanks .. if I have not explained rephrase the request
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Hello everyone sorry if I write bad I do not speak English well ..
I would like to know how to set a gain of gold by the killing of a unit of a player (with the animation +1/2/3 etc.)
thanks .. if I have not explained rephrase the request

I cant much understand what you need. Yes, you should explain better and there are triggers on adding gold or setting gold and specific players can be chosen with this trigger also fyi. :cgrin:

Cheers!
 
Level 1
Joined
May 31, 2013
Messages
4
should be as neutral units give gold when they are killed
but I want to do with player 12 and non-neutral
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
Its just easy actually, it is really disabled in Players, youll just have to put this trigger to enable gaining gold even from players:

  • Player - Turn Gives bounty On for Player 4 (Purple)
The trigger means it will enable gold gaining when either killing a Player 4 unit. Just change Player 4 to any player you want.
 
Level 8
Joined
Feb 6, 2013
Messages
432
First:
If you know about triggers, I can example more in this. Convert from Neutral into Non-neutral of a player is easy. You need have a custom AI for them, each races it will choose.
Second:
If you don't know about triggers, I think you need to know how to use them a little, not at all. You can check Tutorial Section if you might.
Third:
Player 12 is Brown, I think you are meaning player 13, or player 14, they are neutral.
EDIT:
There are other triggers:
  • Trigger 1
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Player - Set name of Neutral Hostile to "Name"
      • Player - Change color of Neutral Hostile to Brown, Changing color of existing units.
Or do trigger like Hell_Master #_#
 
Status
Not open for further replies.
Top