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
10
S
2
G
5
Posts: 746
Reputation: 3,342

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
414
S
245
G
92
Posts: 25,198
Reputation: 200,337


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest