1. I have a Hunter unit that when it's spawned becomes a Red or Blue unit(depending on team) and goes and kills units in a seperate area for gold. I have a trigger set up to divide the gold that (Blue or Red) get to each player on that team. Everything works except the two teams never get the gold. It shows the unit getting gold from kills though.
2. Anyone have tips on balancing units?
3. I have a Boss in my TD that when it dies should be revived 5 seconds later. I set up a trigger to do that but it doesn't work.
With this one, the "Last created unit is dead," I think I have to change this, but I can't figure out to what. Because there will be several of them, and players may have built afterwards.
5. I have a custom script to show the level info on top of the map, but I don't know how to get a variable with an array to work in it.
NEW:
8. Where can I edit the speed reduction for Frost Attack or Slow? I looked in abilities and buffs, but couldn't find a spot that lets me change the amount slowed.
9. I tested my TD map on battlenet with a friend, and he shows up in the leaderboard but I don't. And I lose whenever 5 creeps reach the endpoint or 10 of his creeps reach the endpoint (5 he loses, then another 5 I lose.) I think as soon as I get myself on the leadboard itll fix the other problem. Anyone know how to do this?
If I need to make anything clearer just ask.
Trigger:
- Divide Money Blue
- Events
- Time - Every 60.00 seconds of game time
- Conditions
- Hunter_Blue[1] Greater than 0
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Player 2 (Blue) Current gold) Greater than 0
- Then - Actions
- Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Hunter) and do (Actions)
- Loop - Actions
- Unit - Set the custom value of (Picked unit) to (Player 2 (Blue) Current gold)
- Game - Display to (All allies of Player 2 (Blue)) the text: (The Hunters materials have been delivered to the Villiage, the materials they collected are worth + (String((Player 2 (Blue) Current gold))))
- Game - Display to (All allies of Player 2 (Blue)) the text: It will be split am...
- Player - Add (((Custom value of (Picked unit)) / Hunter_Blue[1]) / 2) to Player 3 (Teal) Current gold
- Player - Add (((Custom value of (Picked unit)) / Hunter_Blue[1]) / 2) to Player 4 (Purple) Current gold
- Player - Set Player 2 (Blue) Current gold to 0
- Unit - Set the custom value of (Picked unit) to 0
- Loop - Actions
- Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Hunter) and do (Actions)
- Else - Actions
- Game - Display to (All allies of Player 2 (Blue)) the text: Your Hunters have b...
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
2. Anyone have tips on balancing units?
3. I have a Boss in my TD that when it dies should be revived 5 seconds later. I set up a trigger to do that but it doesn't work.
Trigger:
- Penguin Boss
- Events
- Time - SpawnTimer expires
- Conditions
- CreepLevel Equal to 10
- Actions
- Player - Add 1 to Player 12 (Brown) Food used
- Set Boss_Defeat = False
- Game - Display to PlayeInGame the text: You have made it to...
- Player Group - Pick every player in PlayeInGame and do (Actions)
- Loop - Actions
- Unit - Create 1 Giant Penguin of D00mz0rz for Player 12 (Brown) at ((Picked player) start location) facing Default building facing degrees
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- Boss_Defeat Equal to False
- ((Last created unit) is dead) Equal to True
- Then - Actions
- Wait 5.00 seconds
- Unit - Create 1 Giant Penguin of D00mz0rz for Player 12 (Brown) at (Position of (Dying unit)) facing Default building facing degrees
- Player - Set Player 12 (Brown) Food used to 0
- Else - Actions
- Set CreepLevel = 11
- If - Conditions
- Loop - Actions
- Events
With this one, the "Last created unit is dead," I think I have to change this, but I can't figure out to what. Because there will be several of them, and players may have built afterwards.
5. I have a custom script to show the level info on top of the map, but I don't know how to get a variable with an array to work in it.
NEW:
8. Where can I edit the speed reduction for Frost Attack or Slow? I looked in abilities and buffs, but couldn't find a spot that lets me change the amount slowed.
9. I tested my TD map on battlenet with a friend, and he shows up in the leaderboard but I don't. And I lose whenever 5 creeps reach the endpoint or 10 of his creeps reach the endpoint (5 he loses, then another 5 I lose.) I think as soon as I get myself on the leadboard itll fix the other problem. Anyone know how to do this?
If I need to make anything clearer just ask.