Slow Units in An AOE
not ratedThis slow enemies in an aoe for a percentage of their speed,
e.g
function SlowEnemiesInAoe takes unit EnemiesOfWhom,location where,real aoe,integer duration,real slowing returns nothing
call SlowEnemiesInAoe(X,X,X,X,80) i put x to the other arguments since were not needed here,so you see the 80,that means that will slow units by 80%,50 for 50% etc
EDIT:Requires a global game cache!
e.g
function SlowEnemiesInAoe takes unit EnemiesOfWhom,location where,real aoe,integer duration,real slowing returns nothing
call SlowEnemiesInAoe(X,X,X,X,80) i put x to the other arguments since were not needed here,so you see the 80,that means that will slow units by 80%,50 for 50% etc
EDIT:Requires a global game cache!