Lua ModifyRunSpeed

From ArcEmu-Wiki
Jump to: navigation, search

Description

Modifies the units run speed.

Example

function SpeedUp(pUnit)
        pUnit:SetMovementType(1)
	pUnit:ModifyRunSpeed(8)
	pUnit:MoveTo(pUnit:GetX()+10, pUnit:GetY()+10, pUnit:GetZ(), 0)
end
Personal tools