Man-o-Bomb
New Member
- Reaction score
- 30
Why dosnt this work? It only works for player 1...
Code:
Kill
Events
Unit - A unit Dies
Conditions
((Triggering unit) is A Hero) Equal to True
Actions
Countdown Timer - Start Rez_Timer[(Player number of (Owner of (Dying unit)))] as a One-shot timer that will expire in ((Real((Level of (Dying unit)))) x 6.00) seconds
Countdown Timer - Create a timer window for (Last started timer) with title (Player + (String((Player number of (Owner of (Dying unit))))))
Set Timer_Window[(Player number of (Owner of (Dying unit)))] = (Last created timer window)
Player - Add 1 to (Owner of (Killing unit)) Current gold
Player Group - Pick every player in (All allies of (Owner of (Dying unit))) and do (Actions)
Loop - Actions
Countdown Timer - Show Timer_Window[(Player number of (Owner of (Dying unit)))] for (Picked player)
Game - Display to (All players) the text: ((Name of (Triggering player)) + ( got pwned by + (Name of (Owner of (Killing unit)))))
Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Actions)
Loop - Actions
Player - Add 1 to (Picked player) Current lumber
Set Tome_Group = (Random level 8 Powerup item-type)
Item - Create Tome_Group at (Position of (Triggering unit))