SOLVED:Look function auto starts after Interact function.

Started by Stranga, Mon 03/04/2017 05:17:09

Previous topic - Next topic

Stranga

Hello everyone,

I can't seem to figure out why this is happening. Every time I use the Interact function (Left-click) the look function (right-click) automatically plays after the interact function is complete. I am using the TwoClickHandler script. The Look function works fine on its own.

Edit: Turns out I had my pen and touch tablet causing the problem.
New Edit: That wasn't the problem. It started again.

Snarky

I mean, we'd have to get a look at your code, but this sounds like a typical "forgetting the 'else' part of and 'else-if' statement" problem.

Stranga

Thanks for the reply. I may know where the may be but It is happening to everything in the entire game. I will have a look through my code again.

Stranga

There was a fault in my global script and my mouse handling script. I had it processing he same functions twice. Finally it's working!

SMF spam blocked by CleanTalk