why have not sub-events else/elseif?

Discussion and feedback on Construct 2

Post » Mon Jan 09, 2012 8:50 pm

why have not sub-events else/elseif?

i think it's will useble.
B
25
S
7
G
3
Posts: 32
Reputation: 2,868

Post » Mon Jan 09, 2012 11:25 pm

I think that its a work in progress
No need to ask
it is automatically on developpers to-do list
(i hope) ! )
B
35
S
16
G
16
Posts: 2,223
Reputation: 16,601

Post » Tue Jan 10, 2012 4:57 am

[QUOTE=kbdmaster] I think that its a work in progress
No need to ask
it is automatically on developpers to-do list
(i hope) ! )[/QUOTE]

please mark as spam
B
25
S
7
G
3
Posts: 32
Reputation: 2,868

Post » Tue Jan 10, 2012 5:00 am

What?
Moderator
B
91
S
32
G
33
Posts: 3,005
Reputation: 27,527

Post » Tue Jan 10, 2012 6:06 am

i ask why have not sub-events
else/elseif?
B
25
S
7
G
3
Posts: 32
Reputation: 2,868

Post » Tue Jan 10, 2012 6:12 am

Try this unoffical plugin --Branch.
B
99
S
22
G
197
Posts: 4,209
Reputation: 113,783

Post » Tue Jan 10, 2012 6:40 am

That plugin seems redundant to me? Subevents can already do all that? Maybe if there was a better example I'd understand its use.

To do an "if" all it takes me is to add a "local variable":

B
137
S
67
G
17
Posts: 1,766
Reputation: 19,992

Post » Tue Jan 10, 2012 6:57 am

@alspal

That's right.
Branch plugin only to save the time of creating local variables and the value setting and make the event sheet shorter.rexrainbow2012-01-10 07:00:57
B
99
S
22
G
197
Posts: 4,209
Reputation: 113,783

Post » Tue Jan 10, 2012 7:34 am

I meant what what did you mean by the spam comment?
Moderator
B
91
S
32
G
33
Posts: 3,005
Reputation: 27,527

Post » Tue Jan 10, 2012 9:44 am

A built in 'else' condition has been on the todo list for a while, it's just got a low priority because it's easy to work around (copy the event and invert it) and the implementation is actually quite tricky (it must use the exact opposite picked objects from the previous event).
Scirra Founder
B
367
S
217
G
82
Posts: 23,262
Reputation: 183,679

Next

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests