maukor 34 Posted December 29, 2020 Share Posted December 29, 2020 Hello, is there any way to check in conditions, if your movement speed is lower than 200%? (travel form out of combat default) Cause if player hit by a mob, hes movement speed becomes around 160% or lower, dont remember exact speed, Something to put into fightclass for reshift: if (ObjectManager.Me.HaveBuff(5419) && "Here condition for if speed is lower than 200%" && !Fight.InFight) { Travel.Launch(); } Quote Link to post Share on other sites
iMod 98 Posted December 30, 2020 Share Posted December 30, 2020 5 hours ago, maukor said: Hello, is there any way to check in conditions, if your movement speed is lower than 200%? (travel form out of combat default) Cause if player hit by a mob, hes movement speed becomes around 160% or lower, dont remember exact speed, Something to put into fightclass for reshift: if (ObjectManager.Me.HaveBuff(5419) && "Here condition for if speed is lower than 200%" && !Fight.InFight) { Travel.Launch(); } Take a look at "ObjectManager.Me.SpeedMoving" maukor and TheSmokie 2 Quote Link to post Share on other sites
maukor 34 Posted January 1 Author Share Posted January 1 On 12/30/2020 at 4:11 AM, iMod said: Take a look at "ObjectManager.Me.SpeedMoving" Works perfect, ty a lot. if (ObjectManager.Me.HaveBuff(5419) && ObjectManager.Me.SpeedMoving > 0 && ObjectManager.Me.SpeedMoving < 14 && !ObjectManager.Me.InCombatFlagOnly ) { Thread.Sleep(300); Travel.Launch(); } Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.