Compare value from Dictionary with global number variable?

Get help using Construct 2

Post » Thu Jul 20, 2017 5:31 pm

The problem I noticed is that comparing value using key from global number variable seems not to work.
I tried to compare value from dictionary by getting key (number "3") from global number variable and it did not work. However, when I tried using a normal number for example "3" to compare, it worked.
I have something like:
Dictionary | key Variable = "True">>>>>>>Text | Set text to "correct"

Please help.
B
11
S
2
Posts: 18
Reputation: 616

Post » Thu Jul 20, 2017 5:42 pm

[SOLVED]
I tried using str(Variable) to convert integer to string and it's work.
Took me whole day to figure this simple thing out. :?
B
11
S
2
Posts: 18
Reputation: 616


Return to How do I....?

Who is online

Users browsing this forum: SputnikCZ and 3 guests