code not working

The original Torque Game Engine.
2 posts Page 1 of 1
bsisko
Posts: 56
Joined: Mon Jun 19, 2017 7:28 pm
by bsisko » Fri May 10, 2019 3:29 am
Okay Torquers, why is the following code not working.

Code: Select all

function GUIhide() { Title.setVisible(false); Menu.setVisible(false); Start.setVisible(false); Continue.setVisible(false); quit.setVisible(false); }
When I click the start button, Everything disappears (which is what I want) but the start and quit buttons. Observe the attached images.

Attachments

images.zip
images
(136.96 KiB) Downloaded 16 times
bsisko
Posts: 56
Joined: Mon Jun 19, 2017 7:28 pm
by bsisko » Fri May 10, 2019 4:46 am
Hey guys the problem has been solved. It seems like I had two sets of controls with the same names, and the code was hiding the wrong set of controls. Therefore the obvious solution was to rename the set of controls.
2 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest