Priority of events when including sheets?

Discussion and feedback on Construct 2

Post » Tue Aug 11, 2015 9:39 pm

Hello World,

Lets say that my main layout(the one the game starts at) has some on start of layout events at the begining of it's event sheet and olso has one(or more) included event sheets, and these included event sheets olso have on start of layout events in them.
In what order to these events/actions get executed?

Thank you.
B
21
S
11
G
6
Posts: 414
Reputation: 5,335

Post » Tue Aug 11, 2015 9:42 pm

In the order they are included, the last being the master (Main, in your case).
ImageImageImage
B
71
S
22
G
259
Posts: 3,793
Reputation: 143,702

Post » Tue Aug 11, 2015 10:20 pm

So first the on start of layout events from the included event sheets, and last the on start of layout from the sheet they are included in @blackhornet ?
That's horrible.... it's gonna completely mess up my load game event... pffff :(
B
21
S
11
G
6
Posts: 414
Reputation: 5,335

Post » Tue Aug 11, 2015 10:22 pm

That's correct. (Hey I'm just the messenger ;) )
ImageImageImage
B
71
S
22
G
259
Posts: 3,793
Reputation: 143,702

Post » Tue Aug 11, 2015 10:27 pm

VIKINGS wrote:So first the on start of layout events from the included event sheets, and last the on start of layout from the sheet they are included in @blackhornet ?
That's horrible.... it's gonna completely mess up my load game event... pffff :(


just move the includes below the events in the main sheet.
B
48
S
23
G
66
Posts: 1,144
Reputation: 39,059

Post » Tue Aug 11, 2015 10:32 pm

That doesn't work. Just tried it.
ImageImageImage
B
71
S
22
G
259
Posts: 3,793
Reputation: 143,702

Post » Tue Aug 11, 2015 10:46 pm

Yeah well the messenger get's shot @blackhornet , now where did I put my slingshot?! ;)
Pffff, and I was finding it fairly impossible to used the damn save/load game functions properly as it was. This brings a whole new level of challenge which I'm not sure I'm ready for.... :cry: :cry:
I don't even wanna think about what hell AAA game designers have to go through. And yeah, I know, it's pretty stupid to compare C2 to what they use... still must be pretty complicated for them.

Anyway, thanks guys, sigh.
B
21
S
11
G
6
Posts: 414
Reputation: 5,335

Post » Tue Aug 11, 2015 11:19 pm

You could put your main events into another include file, and just have includes in the main sheet, then order them appropriately?
B
48
S
23
G
66
Posts: 1,144
Reputation: 39,059


Return to Construct 2 General

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests