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
38
S
16
G
17
Posts: 2,230
Reputation: 17,220

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,552

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
107
S
25
G
224
Posts: 4,322
Reputation: 127,821

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
141
S
68
G
17
Posts: 1,769
Reputation: 20,224

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
107
S
25
G
224
Posts: 4,322
Reputation: 127,821

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,552

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
378
S
219
G
84
Posts: 23,863
Reputation: 187,909

Next

Return to Construct 2 General

Who is online

Users browsing this forum: ankas, arthurtomazz and 5 guests