Ok, so i figured it out if anyone wants it...I had to make 3 triggers for it.
UpgradeAttack is a boolean array variable
E:
Player - Player 1 (Red) types a chat message containing -upgradeattack as An exact match
Player - Player 2 (Blue) types a chat message containing -upgradeattack as An...
Heres my code, I can't get it to keep upgrading though.
Events:
Player - Player 1 (Red) types a chat message containing -upgradeattack as An exact match
Player - Player 2 (Blue) types a chat message containing -upgradeattack as An exact match
etc.
Conditions:
Actions:
If (All Conditions...
Ok, so I want to make a system where a player types in a message(such as -autoresearchattack), and his building auto-researches attack until he runs out of gold. This is for footmen frenzy, if you have ever played it.
In my opinion, this is perfect, but it seems to cause lag. We took this out of the map, and the map didn't lag, but when it was in, the map did. It's not that it lags whenever someone swaps, it makes the lag in general more.
This is just part of the trigger, swapping between player 1 and 2...
But wont that make it so only 1 hero in the whole game can revive at a time? Other players can have their heroes revive at the same time, just not 2 from the same player.
Thanks, but not what i was looking for, read the whole thing please.
The trigger needs to only allow 1 hero to revive at a time. So say, Player 1 has 2 heroes, and 1 dies, and 5 seconds later the second dies. The first one revives in 45 seconds from death, but the second would revive 45 seconds...
I know there's been a lot of threads about this, and i've looked through them, but I couldn't find what i was looking for. I've been trying to make a hero revival system so that when a hero dies, a countdown timer shows, and then after 45 seconds the hero is revived. The only problem is that...
Ok, im trying to make a trigger where when a unit enters the map, and its owned by player 1, change the unit's vertex coloring to red. I'm doing this for all colors, but the problem i have is i have to do it in percentages because thats how the action works. I have the player colors in the...