Ignore many events if case is met?

Get help using Construct 2

Post » Wed Feb 20, 2013 2:13 am

I am implementing levels in my game. When a stage marker is reached I want many events, for example keyboard controls and various animations to no longer work.

At the moment I am going though and putting extra conditions on all those events.

i.e., if not Player.EndofStageReached then Do_Keyboard etc

I was thinking is it perhaps possible to have

if not Player.EndofStageReached then
begin
all the events


in here

end;

B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Wed Feb 20, 2013 2:15 am

For example is it possible to put a condition of a group?
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Wed Feb 20, 2013 2:22 am

Yes, Groups is what you want!
ImageImageImage
B
67
S
19
G
124
Posts: 3,219
Reputation: 74,425

Post » Wed Feb 20, 2013 2:24 am

Yes, but what I can't figure out is how to exclude a whole group from being run.

Am I missing something obvious? It wouldn't be the first time ;)
B
31
S
8
G
5
Posts: 436
Reputation: 5,836

Post » Wed Feb 20, 2013 2:32 am

System:(General):Set group active
ImageImageImage
B
67
S
19
G
124
Posts: 3,219
Reputation: 74,425

Post » Wed Feb 20, 2013 6:28 am

That is awesome. Thanks that makes life easier. Still learning :)
B
31
S
8
G
5
Posts: 436
Reputation: 5,836


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 0 guests