Gui Pop-up on start
by Jon Ray · in Torque Game Engine · 09/21/2005 (6:29 pm) · 2 replies
How would I go about doing this?
1) Clicking Connect - mission.mis loads (I've got this working)
2) Game world loads up
3) Before the character can move or do anything within the game world, a Gui pops up having the player input their name.
Is there no way to pause the game screen once they are in the world?
If not, then I'll just have to make a Character creation screen before the mission loads.
LJR
1) Clicking Connect - mission.mis loads (I've got this working)
2) Game world loads up
3) Before the character can move or do anything within the game world, a Gui pops up having the player input their name.
Is there no way to pause the game screen once they are in the world?
If not, then I'll just have to make a Character creation screen before the mission loads.
LJR
About the author
Independent Filmmaker / Game Developer.
#2
in game.cs
function GameConnection::onClientEnterGame(%this) is where you spawn the client, setup the camera, and give them control. just move what you dont want to another function, pop your name gui there instead. Then call the new function after they click go..
make since?
edit: but if your just wanting to force a name selection prior to loading, JoinServergui already has one..just make it required before they can try to connect..
09/21/2005 (8:27 pm)
Quote:
Is there no way to pause the game screen once they are in the world?
in game.cs
function GameConnection::onClientEnterGame(%this) is where you spawn the client, setup the camera, and give them control. just move what you dont want to another function, pop your name gui there instead. Then call the new function after they click go..
make since?
edit: but if your just wanting to force a name selection prior to loading, JoinServergui already has one..just make it required before they can try to connect..
Torque Owner Stephen
GearedMind Studio
-Stephen