How do I pick by instance variable?

Get help using Construct 2

Post » Thu Sep 11, 2014 5:08 pm

So I have been trying to pick a check box by instance variable that is text and it will not do the actions afterward.

System pick by compare object checkbox
checkbox.type
=
"someText"

Actions
do something

It never does anything.
B
5
S
1
Posts: 41
Reputation: 455

Post » Thu Sep 11, 2014 5:49 pm

Instance Variables are added to object types but store numbers, text or booleans (on/off flags) individually for each instance.


Suggest you read the manual entry
Now create an instance variable and assign your text to that variable. Now check against the variable.
Important to make sure that text is text and not number etc.

Edit: and if you choose text make sure you put "text"

Anyways, attached is small demo showing it works.
You do not have the required permissions to view the files attached to this post.
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


Return to How do I....?

Who is online

Users browsing this forum: R0J0hound and 24 guests