use expression to pick variable

For questions about using Classic.

Post » Mon May 18, 2009 9:00 pm

Hey, just a quick question for ya! Is it possible to pick a private variable using an expression, not having to write the actual name?

For example: Set text to sprite.value(global('something'))
B
8
S
2
G
5
Posts: 744
Reputation: 3,288

Post » Mon May 18, 2009 9:16 pm

This is not possible, sorry. You could try something like a hash table in a container with the object for that though.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests