AlExAlExAlEx
Member
- Reaction score
- 7
Okay , i alocated the zombies to brown..i want it so that when i/someone kills one to get +2 gold..but they don't..why ?
Event-
Unit - Unit dies
Condition-
Unit-type(of dying unit) is equal to Unit-type(Zombie)
Owner of Unit(dying unit) is equal to Brown
Trigger-
Game - Add 2 gold to Owner of unit(killing unit)
Floating Text - Create Floating text that says "+2" ... with tint... etc.
Floating Text - Disable permanance.
Floating Text - Set Velocity to X at 90 degrees angle
I don't have my WE open, but it should look something like this.
Code:Event- Unit - Unit dies Condition- Unit-type(of dying unit) is equal to Unit-type(Zombie) Owner of Unit(dying unit) is equal to Brown Trigger- Game - Add 2 gold to Owner of unit(killing unit) Floating Text - Create Floating text that says "+2" ... with tint... etc. Floating Text - Disable permanance. Floating Text - Set Velocity to X at 90 degrees angle
No ! Not doneWth?
No. Do it the simple way.
Initialize the map with the following trigger:
Trigger:
- Player Group - Pick every player in (All players) and do (Actions)
- Loop - Actions
- Player - Turn Gives bounty On for (Picked player)
Then simply go into the Object Editor, find the zombie and go down to the Bounty fields. Enter this :
Stats - Gold Bounty Awarded - Base - 1
Stats - Gold Bounty Awarded - Number of Dice - 1
Stats - Gold Bounty Awarded - Sides Per Die - 1
Aaaannnnndddd... Done.
- Expansion-only trigger functions, types, or values are being used (Trigger Editor)
- Trigger functions with multiple sub-functions are being used (Trigger Editor)
I don't have my WE open, but it should look something like this.
Code:Event- Unit - Unit dies Condition- Unit-type(of dying unit) is equal to Unit-type(Zombie) Owner of Unit(dying unit) is equal to Brown Trigger- Game - Add 2 gold to Owner of unit(killing unit) Floating Text - Create Floating text that says "+2" ... with tint... etc. Floating Text - Disable permanance. Floating Text - Set Velocity to X at 90 degrees angle
bumpI don't really want floating text..i just want +2..