Toggle Script When Not in Cutscene?

  • #10, by sebastianWednesday, 04. October 2017, 21:38 7 years ago
    "if keycode==80"  is allright, but whats with the statement "97" ? it stands for itself. Its like saying "if keycode ==80 or true" . So it will be always be triggering the first if branch..
    make it
    "keycode==80 or keycode==97". 

    Thread Captain

    2346 Posts


  • #11, by ygmantellWednesday, 04. October 2017, 22:35 7 years ago
    Oh, okay, I wasn't aware I needed to restate the variable that's being checked after the Or in an If statement.
    Thanks so much!

    Great Poster

    274 Posts