• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

Fatal Error in dialog textbox

B

Baaamie

Guest
I'm making a 2d game in gamemaker 2 and when I export and open the exe-file there pops up a fatal error.
I have no clue what the problem is. I can play my game flawlessly in the gamemaker project, but when I play it as an exe file this error pops up.
 

Attachments

YoSniper

Member
Clearly, the issue arises with the text[page] part.

When you initialized the variable text, you did not specify it as an array, so GM doesn't know that it's supposed to be one.

To initialize an array, simply initialize the first element, i.e.
Code:
text[0] = "";
Or something like that.
 
Top