Help me with my hero line war
so, my hero line war is coming along but i have a few issues that i need to get through, so all of my problems for it will be posted here. If u need any of my code just ask me.
1. The creeps do not attack after they are sent, they just run directly to their target.
2.Income is apparently bugged and im not sure why, the people that are on team 2 say they get no income.
i know theres an easier way to do that but ill get it later.
so, my hero line war is coming along but i have a few issues that i need to get through, so all of my problems for it will be posted here. If u need any of my code just ask me.
1. The creeps do not attack after they are sent, they just run directly to their target.
2.Income is apparently bugged and im not sure why, the people that are on team 2 say they get no income.
Code:
Income Addition
Events
Unit - A unit enters CreepSpawn1 <gen>
Unit - A unit enters CreepSpawn2 <gen>
Unit - A unit enters CreepSpawn3 <gen>
Unit - A unit enters CreepSpawn4 <gen>
Conditions
((Triggering unit) is A Hero) Equal to False
Actions
Set Income[(Player number of (Owner of (Triggering unit)))] = (Income[(Player number of (Owner of (Triggering unit)))] + (Point-value of (Triggering unit)))
Code:
Adds Gold
Events
Time - Every 15.00 seconds of game time
Conditions
Actions
Player - Add Income[1] to Player 1 (Red) Current gold
Player - Add Income[2] to Player 2 (Blue) Current gold
Player - Add Income[3] to Player 3 (Teal) Current gold
Player - Add Income[4] to Player 4 (Purple) Current gold
Player - Add Income[5] to Player 5 (Yellow) Current gold
Player - Add Income[6] to Player 6 (Orange) Current gold
Player - Add Income[7] to Player 7 (Green) Current gold
Player - Add Income[8] to Player 8 (Pink) Current gold
Player - Add Income[9] to Player 9 (Gray) Current gold
Player - Add Income[10] to Player 10 (Light Blue) Current gold
Player Group - Pick every player in (All players controlled by a User player) and do (Game - Display to (Player group((Picked player))) for 4.00 seconds the text: (Your Income is: + (String(Income[(Player number of (Picked player))]))))
i know theres an easier way to do that but ill get it later.