How do you display an actor triggered text message?
jvideo121
Member Posts: 0
Hi, I'm trying to pop up a text message by collecting a coin actor. Right now I have the text on a timer of 15 seconds, however the message only pops up for about half a second.
Jvideo121, Youtuber and Coder
Answers
It's likely that your text is displaying only while the coin and your main actor are physically touching. As soon as they're not, the rule is voided. So make a boolean attribute in the actor called 'coin collect'. When the actor collides with a coin, turn 'coin collect' to true. Then have another rule that says 'when coin collect is true, for 15 seconds, display text'. Then you'll need to turn off 'coin collect' unless there aren't any more coins.