Modme Forums

Sprint/slide Reload Cancel

Game Modding | Call of Duty: Black Ops 3 | Scripting


Sample Text:

Hi all,

Is it possible to, when sprinting/sliding, cancel the reload animation? The behavior is used in older CoD games, like mw2, waw, etc. to stop the player from reloading while sprinting.



Best,
Michael


KillJoy:

if(player IsSliding() || player IsSprinting())
{
// dont allow reload
}

not sure about reload but the if statement is pretty easy


Sample Text:

Thank you! The statement should do fine!