Search found 2 matches

by vincolus
Sun Oct 31, 2021 7:39 am
Forum: Support and Development
Topic: Implementing player movement in a Finite State Machine
Replies: 13
Views: 15611

Re: Implementing player movement in a Finite State Machine

This will help even more compactly if key == "f1" then DEBUG = not DEBUG end this made me suffer for many hours, trying to find a reason why lldebugger did not work. The simple reason was overwriting the lua debug-library with this simple line. Better call the variable something else... D...
by vincolus
Wed Oct 27, 2021 4:11 pm
Forum: Support and Development
Topic: Implementing player movement in a Finite State Machine
Replies: 13
Views: 15611

Re: Implementing player movement in a Finite State Machine

This will help even more compactly if key == "f1" then DEBUG = not DEBUG end this made me suffer for many hours, trying to find a reason why lldebugger did not work. The simple reason was overwriting the lua debug-library with this simple line. Better call the variable something else...