- Home /
Pause online game
I am currently making an ORPG to play with friends and such and I am trying to implement a Menu where players can either log out, add friends, join parties, view stats, view inventory and those sort of things.
When that player presses a button (escape) it brings up a GUI with these options but the player is still able to move around (First Person Controller). I have tried disabling the scripts that control the players movement and mouse viewing (Character Motor + Mouse Look) but if the player is in the air and presses escape it locks them in that position.
What I am asking is how can I freeze the player so they can access the Menu without being able to move/look but also if they are mid air they continue falling.
If possible could you answer in Javascript..
Answer by scipiothegreat · Nov 26, 2013 at 02:23 AM
You'll have to add a check in both of those scripts to see if the player paused the game. To do this you will need to find the component that lets you pause and read the variable off of it.
Your answer
Follow this Question
Related Questions
[Multiplayer]How to individualize the Player 1 Answer
Php Character list/sessions 0 Answers
IS their another way to have a Character Maker 0 Answers
UNet Multiple Characters 0 Answers
Network - Character Controls 1 Answer