Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Hi,

There are some problems with your code, here are some tips:

  1. Use if (!textbox_exists()) { } to make sure the textbox code runs only once.
  2. With textbox_add_options, you are setting the options to appear with message 1. But the first message is 0, so change it to that.
  3. With textbox_change_message_according_option, you are trying to change the message 2 (in other words, third message). But with textbox_create you have set only one message/text, so it will not change anything.

So try changing these things, and see if it works then. I will try to improve the documentation of this.