Skip to content

Scripts for beginners.

User Avatar
#227
Auto-translated
_De1My_
How to create infinite action points in a script for all 8 players
I would suggest using the following loop:
while 1 do
for player = PLAYER_1, PLAYER_8 do
if GetPlayerState(player) == PLAYER_ACTIVE then
for i, hero in GetPlayerHeroes(player) do
ChangeHeroStat(hero, STAT_MOVE_POINTS, 10000)
end
end
end
sleep()
end
Нет войне.