Frictional Games Forum (read-only)
[Solved, I'm dumb] Can't move mouse after map change - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [Solved, I'm dumb] Can't move mouse after map change (/thread-51716.html)



[Solved, I'm dumb] Can't move mouse after map change - DeAngelo - 07-28-2016

I'm having a really odd issue I've never had before. I launch into my CS from the beginning, play through the intro level, it loads an opening credits level, and after that plays out it loads the next level. In this level I suddenly can't turn using the mouse. I can still move around with WSAD and if I position myself in front of an object I can still use left/right click to interact/throw. Everything is fine if I reload the map with the F1 menu, and it works fine if I change my custom story settings to skip the previous two levels and launch right into this one.


RE: Can't move mouse after map change - Romulator - 07-28-2016

Has your look speed multiplier been set to 0.0 at some point in the previous map or in the current maps' OnStart(); and not reset to 1.0? That would be my first guess~

And even if it hasn't, might not be a bad idea to set it to 1.0 in that map's OnEnter();, since that would eliminate that error if it's the cause~


RE: Can't move mouse after map change - DeAngelo - 07-28-2016

lol you posted just as I was about to update it. I did have the speed set to 0 at a point during the intro and just forgot about it (It's an elaborate intro with like 1,000 lines of code...)

I basically figured out the problem by moving my map change back a few lines, testing, then repeating until it no longer messed up.


RE: [Solved, I'm dumb] Can't move mouse after map change - Romulator - 07-28-2016

Haha, it's alright. Things like this happen, and it's often the littlest thing we overlook Smile

Closing!