Disabling events and actions.

Discussion and feedback on Construct 2

Post » Wed Sep 10, 2014 1:52 pm

When you disable an event or action and export the code does the exported code contain the disabled code then just disable it or does the exported code not contain the disabled code?
B
5
S
1
Posts: 41
Reputation: 455

Post » Wed Sep 10, 2014 2:19 pm

I think the disabled events and actions is included in the exported code, as you can enable it back at the runtime.
B
23
S
9
G
3
Posts: 114
Reputation: 3,794

Post » Wed Sep 10, 2014 2:25 pm

You cannot not enable disabled code at run time. you Can however active deactive code in a group. Active/Deactive code are not the same as Disabled code.

I'm 99% sure that disabled code will not be in the runtime.
B
90
S
18
G
9
Posts: 2,455
Reputation: 15,028

Post » Wed Sep 10, 2014 2:52 pm

jayderyu wrote:You cannot not enable disabled code at run time. you Can however active deactive code in a group. Active/Deactive code are not the same as Disabled code.

I'm 99% sure that disabled code will not be in the runtime.



That's what I'm thinking too. But I just wanted a definitive answer. Reason being if you want to support multiple platforms it would be nice to know if disable code does not get exported you could have one capx file that you use for all the platforms.
B
5
S
1
Posts: 41
Reputation: 455

Post » Tue Feb 10, 2015 9:56 pm

Hi

I know this is an old topic but can anyone confirm if disabled events or disabled event blocks get exported or not?

Also what about orphan event sheets? (I.e. event sheets that aren't attached to a view?)

Any information welcome thanks

N.
B
9
S
1
Posts: 4
Reputation: 477


Return to Construct 2 General

Who is online

Users browsing this forum: lkatkins, olympo and 12 guests