Gui help
by Afan Olovcic · in Torque Game Engine · 12/06/2006 (5:22 am) · 5 replies
Hi everibody,
Please can somebody help me I nead to finish some presentation antil tomorow ,and I have one problem.
I made some scenes something like in demo "Feature Walkthrought" a fiew scenes ,camera movings but I nead on each scene when camera comes to last point to pushUp the Gui with some picture.
Plese can somebody help me ? I nead help as fast as posible:
Thanks
Please can somebody help me I nead to finish some presentation antil tomorow ,and I have one problem.
I made some scenes something like in demo "Feature Walkthrought" a fiew scenes ,camera movings but I nead on each scene when camera comes to last point to pushUp the Gui with some picture.
Plese can somebody help me ? I nead help as fast as posible:
Thanks
About the author
www.bootwars.com
#2
in mission file I make :
new ScriptGroup(Example);
class = "Scene";
After that new wayPoint
NewPath
and for example two NewMarker-s
so that is same like in tge demo
So when camera finish moving in that scene picture has to pop up
where to put that code?
thanks
12/06/2006 (6:10 am)
Thanks for your helpin mission file I make :
new ScriptGroup(Example);
class = "Scene";
After that new wayPoint
NewPath
and for example two NewMarker-s
so that is same like in tge demo
So when camera finish moving in that scene picture has to pop up
where to put that code?
thanks
#3
All i can subject is, search YOUR project folders for 'class = "Scene";' and see if you can track it down, someplace must be functions that act on the 'Scene' class, it will likely be in a .cs file.
Good luck,
12/06/2006 (6:37 am)
I wish i could help. I dont currently have anything file on my project computer that contains 'class = "Scene";', so i can not even look at example files and figure it out. I have only fiddled with the path camera for a short time many many months ago. Im sure there is a way to tell once you reach the end, then all you gotta do is '.setvisible(true);'. All i can subject is, search YOUR project folders for 'class = "Scene";' and see if you can track it down, someplace must be functions that act on the 'Scene' class, it will likely be in a .cs file.
Good luck,
Torque 3D Owner Caylo Gypsyblood
Then in script, you can use 'NAME.setvisible(true);' to make it show up, and 'NAME.setvisible(false);' to hide it.
I dont know how your camera is moving about, but if you have it on a path you should have control over WHERE in the path it is at already- so just wait till the right place in the path and pop the GUI bitmap up...