Copying Event Blocks into a NEW Event Sheet

Discussion and feedback on Construct 2

Post » Mon Nov 03, 2014 6:09 pm

I have been working on a game where I need to duplicate a large part of the event blocks from one event sheet to another. As far as I can tell - there is no way to do this in C2. I know about the INCLUDE feature - but this really does not copy the code only sets a reference point to the code of the original event sheet. So if change any code in the new event sheet - I would be changing code in the original. Is this correct or am I missing something.

Please Advise

Thanks

Yankee1950
B
9
S
2
Posts: 15
Reputation: 634

Post » Mon Nov 03, 2014 10:16 pm

@yankee1950 - can't you just highlight the code and copy and paste to new sheet?
B
33
S
7
G
8
Posts: 312
Reputation: 8,528

Post » Mon Nov 03, 2014 10:18 pm

You can copy events from one event sheet to another. But before you do, Every object it's referencing must be in the layout that's connected to the event sheet you're copying to, or it wont copy. Usually I have code organized into groups. The group will rename itself to "Group Name 2", since group names are global.

Hope this helps
Image
B
75
S
23
G
3
Posts: 673
Reputation: 9,283

Post » Tue Nov 04, 2014 5:47 pm

Thanks guys - The Dom - you are right I was missing some object references.
B
9
S
2
Posts: 15
Reputation: 634


Return to Construct 2 General

Who is online

Users browsing this forum: db3344 and 11 guests