Advertisement
Lavallet

EnhancedScanner-Walking.reds for 2.12a

May 10th, 2024
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | Gaming | 0 0
  1. module EnhancedScanner.ToggleWalking
  2.  
  3. @wrapMethod(AimWalkDecisions)
  4. protected const func EnterCondition(const stateContext: ref<StateContext>, const scriptInterface: ref<StateGameScriptInterface>) -> Bool {
  5. if this.m_inFocusMode {
  6. return false;
  7. } else {
  8. return wrappedMethod(stateContext, scriptInterface);
  9. };
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement