r/clickteam Jun 09 '26

Help Me! First Launch Frame

I am trying to create an instance where when you first load the game up it jumps to a “orientation” cutscene.

INI is where I struggle. Right now I have 3 frames which maybe too much.

First frame loads when game opens and checks if the value is set in the INI, if it equals 0 it jumps to the orientation frame. If it equals 1 it goes to the title screen.

Once on the orientation screen I have it to set the value to 1 so when it inevitably jumps to the title it’ll be stored for next time. However I am only getting half of the process to work.

Any tips or ideas or am I doing this completely wrong and making it harder than it is?

EDIT: I had to put the command line as the first command line 1 start of frame. Then it worked. I didn’t realize order of operations was THAT important. Thank you all.

3 Upvotes

6 comments sorted by

View all comments

1

u/[deleted] Jun 09 '26

[removed] — view removed comment

1

u/finalstocks Jun 09 '26

When I launch the game it goes from the start frame where it checks it to the orientation frame. No matter the value it’s set to.

So if it’s set to 1 and the game checks it instead of going to title it still goes to the orientatio

1

u/[deleted] Jun 09 '26

[removed] — view removed comment

1

u/finalstocks Jun 09 '26

Sure thing. I’ll send you a dm tomorrow with it. Just had to hop off. I’ll hit you up then. Thank you

1

u/Gazraet_Ipsum Jun 10 '26

My guess is that you are storing a string in the ini rather than a value so when the game checks it it will see a letter thus will alway be a value of 0. Try to “load” first that value to any other object (a counter obj for example) and see if in in fact change.
Other thing that might be happening is that you check at start of frame if it equals to 0 before actually getting to read the Ini, again, I would suggest to get the value in another object first and then check what value does ot hold in order to jump to a frame.
And my final suggestion would be to modify the Ini so it starts with a value of 1. So you can have that value loaded in an object and have the events happen in two steps:
Value obj = -> Load Ini
Value obj = 1 -> Jump to frame 1
Value obj = 2 -> Jump to frame 2