Modme Forums

Function to register buttons?

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


ModmeBot:

Thread By: soul-toktzt
Hey everyone,

Anyone knows if there's a function that'll register when you for example, crouch and knife?

Basically, wherever you are, if you knife while crouching a custom function will do its thing.


ModmeBot:

Reply By: hahaDuNOOB

soul-toktzt
Hey everyone,Anyone knows if there's a function that'll register when you for example, crouch and knife? Basically, wherever you are, if you knife while crouching a custom function will do its thing.

i only know for meleen
if ( self MeleeButtonPressed() ) ...


ModmeBot:

Reply By: soul-toktzt

hahaDuNOOB
soul-toktzt Hey everyone,Anyone knows if there's a function that'll register when you for example, crouch and knife? Basically, wherever you are, if you knife while crouching a custom function will do its thing. i only know for meleen if ( self MeleeButtonPressed() ) ...

Thank you, that's all i needed :p