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(); } Link to comment https://wrobot.eu/forums/topic/12757-movement-speed-in-travel-form-while-in-combat/ Share on other sites More sharing options...
iMod 99 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" TheSmokie and maukor 2 Link to comment https://wrobot.eu/forums/topic/12757-movement-speed-in-travel-form-while-in-combat/#findComment-60913 Share on other sites More sharing options...
maukor 34 Posted January 1, 2021 Author Share Posted January 1, 2021 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(); } Link to comment https://wrobot.eu/forums/topic/12757-movement-speed-in-travel-form-while-in-combat/#findComment-60921 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now