Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

Script Error

What is wrong?

Code:
if key == 1 then
  print "adult fee\n"
else
  print "You have to be the one...\n"
  print "The one of all...\n"
  print "Sona\n"
  Screen Shake: 5, 6, @5
  Screen Flash: (255,255,255,255),@10
  Transfer Player:[001: Rooki 
Iland],(006,016)
end
 

poccil

Sponsor

Did you really place event commands in the script?  It should be like this:

Code:
if key == 1 then
  print "adult fee\n"
else
  print "You have to be the one...\n"
  print "The one of all...\n"
  print "Sona\n"
end

Then add the event commands after the script.

Also, the "print" function displays a Windows message box, not a text message like a Show Text event command.
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top