text scripting
3 posts • Page 1 of 1
text scripting
can you change the text of a box with a scene.my.* on laser hit ?or any other way (but has to be on laser hit) and needs to be able to change for multiple diferent texts.
- hecta
- Posts: 21
- Joined: Thu Feb 02, 2012 3:39 am
Re: text scripting
you can change a scene.my.text with something like a oncollide (scene.my.text = "blabla";)
then you can put in the text field in the scripting menu {"My text is: "+scene.my.text}
if you dont use the {}, then it will read the scene.my once, instead of updating when scene.my changes
hope this helps
then you can put in the text field in the scripting menu {"My text is: "+scene.my.text}
if you dont use the {}, then it will read the scene.my once, instead of updating when scene.my changes
hope this helps
Basically, there are only 10 types of people in the world. Those who know binary, and those who don't.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
Light travels faster than sound. That's why some people appear bright until they open their mouths.
-

monstertje3 - Posts: 343
- Joined: Sat Sep 05, 2009 4:29 pm
- Location: N-H, NL
3 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest



