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!
Do you mean a trigger that gives the player a specific amount of gold if he kills a creep or do you wanna have a trigger that changes the units bounty value?
Events
<<Unit - Player-owned unit event>>
Unit - A unit owned by Neutral Hostile Dies
Conditions
<<Player Comparison>>
(Owner of (Killing unit)) Equal to Player 1 (Red)
<<Unit-Type Comparison>>
(Unit-type of (Killing unit)) Equal to [HereYourTower]
Actions
<<Player - Add Property>>
Player - Add 15 to Player 1 (Red) Current gold
The <<text>>-descriptions should show you which event, condition or action you select in the list.
This trigger only refers to Player 1 and one type of tower, so you have to create a trigger for every player. You can build a trigger that is working for every player, but I don't know if you would understand that trigger.
I was refering to this.
And yes, it was sarcasm :twisted: , but to me cause I hadn't the simple idea to refer to the player that owns the killing unit.
Ok the timer works fine the problem was that we never put when to activate so when I added to activate it within 5 secs of the game it worked!! Now I'm stuck trying to figure out how to have the whole map revealed! lol
I'll have to look into this, but here's a solution, if you can complete the circle. You need to add all the units created in the wave to a unit group, then use an action (if, then, else) that, if all the units in the unit group (specified by a variable) are dead, the next wave will begin.
Variable Name (e.g.): UnitGroupVariable
Variable Type: Unit Group (group)
Then you have to add following action to your UnitSpawn-Trigger:
Actions
<<Unit Group - Pick Every Unit in Unit Group And Do Action>>
Unit Group - Pick every unit in (Units owned by [HereTheAttackingWavePlayer]) and do (Unit Group - Add (Picked unit) to UnitGroupVariable)
Now, your next wave trigger should have this event:
Events
<<Unit - Player-Owned Unit Event>>
Unit - A unit owned by [HereTheAttackingWavePlayer] Dies
Condition
<<Boolean Comparison -> Unit Group - Units Of Unit Group Are Dead>>
(All units of UnitGroupVariable are dead) Equal to True
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.