if and else condition on touch object

Discussion and feedback on Construct 2

Post » Thu Jun 26, 2014 12:37 pm

i am trying to simulate if an object XYZ is touched and object B is visible then this object should become invisible otherwise if object XYZ is touched and object B is invisible then object B become visible.... But i am unable to simulate this condition and it handle only one condition ...for e.g. after the object become visible then i am unable to make it invisible using same touch technique....scripts are in my attached image
code.png
You do not have the required permissions to view the files attached to this post.
B
9
S
2
Posts: 108
Reputation: 1,010

Post » Thu Jun 26, 2014 12:50 pm

Just use else - see attached.

Is this what you mean?
You do not have the required permissions to view the files attached to this post.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
84
Posts: 5,375
Reputation: 58,432


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 7 guests