Question about instance variables !

Get help using Construct 2

Post » Mon Oct 24, 2011 4:11 pm

Hi, i've added a local instance variable (boolean) called it selected and set it to false by default.
In the event sheet i've made it so if clicked set selected to true
&
if NOT clicked set to false

the problem is when i want to have a condition in the event sheet:

If Selected is true then....

I can't find the instance variable anywhere.

There's only compare instance variable (and it's not there in the dropdown menu)
and
is boolean instance variable set..

How to do this the right way ?

Thankful for answers !!

Cheers !!
B
12
S
2
G
5
Posts: 31
Reputation: 3,494

Post » Mon Oct 24, 2011 4:15 pm

Is boolean instance variable set <=> "is bolean True"

Invert this condition if you want "is bolean false"
to invert a condition, you first create it, and then click on it, and then right click and you shall see the "invert" item with a stroke equal symbol.

Cheers to you too o/Yann2011-10-24 16:17:01
B
60
S
22
G
14
Posts: 1,479
Reputation: 16,346


Return to How do I....?

Who is online

Users browsing this forum: Renfd and 32 guests