Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Ah, thanks for the reply. That got the button working, but once it is activated, it crashes when it tries to load the procedure.

procedure test

text "Hello World!"

end

cursor 1

image TestButton /Sprites/Ammo/buttontest.png

button TestButton 500 300 test

Any ideas?

(+1)

Add "map return" before "end".

I gave it a try. It still crashes. It seems when the button is pressed, it fails to load the procedure and just crashes.

(+1)

I think it is necessary to stop the script after pressing the button. Add "halt" after the button line.

That worked! Thanks for the help.