How do I set text to an instance variable?

Just started using Construct 2? Post your questions here

Post » Mon May 05, 2014 10:40 am

I have a number of pages (varying on each level) which will each contain a block of randomly generated text to read when you click on that page. I now have it so that the text generation works fine but I would really like to be able to store the text, once it has been generated, as an instance variable of that particular page, so that clicking on the same page will always bring up the same bit of text. However, it seems that I can't set the text box to display text that is held as an instance variable, only a global variable. Is there a way round this?
B
5
S
2
Posts: 53
Reputation: 792

Post » Mon May 05, 2014 11:14 am

set text > nameofobjectwithinstancevariable.variablename
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Mon May 05, 2014 11:26 am

Ah! Thanks very much.
B
5
S
2
Posts: 53
Reputation: 792


Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 7 guests