I'm having a good time with this engine. However, I think I am using the procedure command wrong.
Trying to run the following in a terminal:
image Button /Sprites/Ammo/buttontest.png
button Button 500 300 test
procedure test
text "Hello World!"
end
I'm attempting to get a button to load a procedure, as per the manual. However, the button command won't load when I have the procedure code in the script -- the event simple freezes. When the procedure code is absent, the button loads, but when activated it of course doesn't load anything and crashes the game. Is the code for the procedure meant to be in a separate script file, or I am simply missing something? Help would be appreciated.