Lua ModifyWalkSpeed
Description
Modifies the units walk speed.
Usage/Example
function SpeedUp(pUnit)
pUnit:ModifyWalkSpeed(8) -- Psst: 7 is the default speed!
pUnit:MoveTo(pUnit:GetX()+10, pUnit:GetY()+10, pUnit:GetZ(), 0)
end
Similar commands
ModifyFlySpeed(speed) : Modifies the Unit’s fly speed to the specified speed.
ModifyRunSpeed(speed) : Modifies the Unit’s run speed to the specified speed.