Help with Display Text / Spawn Actor required to pop up and then disappear until touched again
Hi all,
For the life of me I can't figure this out, which means I have a very long, tough road ahead.
I am making a point and click adventure game. When you click on something, I want a text box to pop up and say "You require this to open the door" or some other command. Then I would like it to disappear after a couple of seconds until the actor is touched again.
I have tried using the Timer command but it doesn't seem to work.
Here's how I've created it.
When you "touch" the door, I've created a Rule that spawns another actor called Text Box. I've discovered how to make the box appear transparent (which is awesome) but I cannot get the text box actor to disappear after a set time. As well each time you touch the door, another actor appears over top the old actor. I'd like to know how to stop that as well.
If anyone has any suggestions that would be much appreciated. I've googled, hunted the forums and watched countless hours of gamesalad tutorials and I still can't find the answer. I'm not even close to getting an inventory system working (which I'm sure is beyond my comprehension) so if you could be as hand-holdy as possible, that would be much appreciated as I'm clearly a little dumb.
For the life of me I can't figure this out, which means I have a very long, tough road ahead.
I have tried using the Timer command but it doesn't seem to work.
Here's how I've created it.
When you "touch" the door, I've created a Rule that spawns another actor called Text Box. I've discovered how to make the box appear transparent (which is awesome) but I cannot get the text box actor to disappear after a set time. As well each time you touch the door, another actor appears over top the old actor. I'd like to know how to stop that as well.
If anyone has any suggestions that would be much appreciated. I've googled, hunted the forums and watched countless hours of gamesalad tutorials and I still can't find the answer. I'm not even close to getting an inventory system working (which I'm sure is beyond my comprehension) so if you could be as hand-holdy as possible, that would be much appreciated as I'm clearly a little dumb.
Comments
Make Rule for Door actor.
When touch is pressed
Display Text
Make an attribute disappear? Bool false
When the actor overlaps or collide with the door, spawn the text box and change attribute disappear to true
When attribute disappear is true, timer for 3 secs and change the attribute to false
When attribute disappear is false then change the actor's alpha to 0