PDA

View Full Version : hiding uiscene.



Smallie
06-22-2010, 06:44 AM
Hello,

for school I've been working on a game and now have to do a extra task. I made a quest using the standard video tutorials, where you have to pick up 3 keys before a trigger can be used. I also added the uiscenes where you get three keys in the top of the screen. All has been working fine till this point.

I would like to make some sort of quest log, that updates with every action in the quest. I made the different uiscenes, set them up in kismet and they are updated, but now I want the visibility of the uiscene to go on and off when I press the Q key.

I allready have the Q key working in Kismet. Tested it with a simple lamp. But I don't know how I can trigger the visibility of an uiscene. When I use the open and close scene I'll lose the scene that was currently loaded and it is set back to the first. With the toggle hidden I get the error message that the object has no handler for a sequence. I even tried it with a matinee to change the visibility, but that did'nt work either.

I hope that you guys can give me some good tips. Tnx in advance.

Smallie
06-23-2010, 06:32 PM
Ok, I finally figured it out tonight. I was'nt able to hide and unhide the uiscene, so I went looking for a way to let the game know which uiscene needs to be opened. Now when I press the q key, it switches between closing the scene and checking which scene needs to be opened. If someone thinks he/she can use something like this, leave a post here. I'll try to put together an understandable tutorial.