Game Development Community

Hiding the hud.

by Luke Smith · in Torque Game Engine · 07/17/2007 (6:15 am) · 2 replies

Can anybody tell me how I can Hide some of the hud elements like the health and energy bar and the chat hud. When I edit playgui and do it like that it will then render the cursor the next time I load the game and this stops you from beeing able to rotate and look around.

regards,

Luke

#1
07/17/2007 (6:45 am)
Just add this to your GameTSCtrl(PlayGui) datablock at the top of your playGui.gui script:
noCursor = "1";
I believe there's a way to store that permanently by using the GUI editor and selecting one of the values of the playGui properties. Been a while since I've actually fired Torque up so I can't be more specific than that.
#2
07/18/2007 (11:20 am)
Thanks