Why dictionaries' values are only numbers?

Discussion and feedback on Construct 2

Post » Tue Jan 19, 2016 9:43 am

Does anyone know why dictionaries' values in Construct 2 can only be numbers but not any other types of objects

I just wonder why. So, if anyone knows the reason I would be happy to know it too.

Obviously, we could reference any object by storing UIDs or IIDs as values in dictionaries, so it's not a big deal to be able to store only numbers. Maybe this is the reason why.
B
10
S
3
G
1
Posts: 12
Reputation: 864

Post » Tue Jan 19, 2016 9:51 am

You can use text values too. Actually numbers and text are the only values you can use in C2 expressions.
B
85
S
27
G
85
Posts: 5,067
Reputation: 57,868


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 8 guests