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.

Help on Universal Message System

I have a problem with this script.

In the shop, the shop keeper says "Welcome to my shop" then Shop processing begins. But when you exit, i have a message that the Shop Keeper also says. It will say "Thank you for shopping/browsing" and when you go to press "C"/"Space Bar"/"Enter"/"Esc"/ any other buttons to press ok or exit to make the text disappear, the "welcome to my shop" text will appear again and the whole process will restart over and over and over like a loop. This just doesnt happen for shop processing but for any other "Action Button" event that has an ending message when trying to press "C"/"Space Bar"/"Enter"/"Esc"/etc on a text.

why is this?
 
This sounds like an autorun event. If it is, does it need to be? If not, then change the trigger to the action button.

Another possibility is that your using a version of the sdk in which the text will continually loop. If this is the case, add a wait frame of 1 to the end of the event.
 
alexia;231679 said:
This sounds like an autorun event. If it is, does it need to be? If not, then change the trigger to the action button.

Its not an autorun event, its just a normal action button event. Its when you go to talk to the shop keeper he will say "Welcome" and when u shop browse and then exit he will say "thank you" and when u try to exit out of the "thank you text" it will pop up again "welcome" and blah blah it will keep happening.

BTW using SDK 2.2
 
alexia;231689 said:
Have you tried adding a wait frame of 1?

yes i have and it works, thanks.


But im having another problem. i dont know if it is the script or not. when i use the event "Show Choices" and it show 2 choices, yes or no. And the box is highlited on yes. When i try going down to "No" it doesn't, but makes the little click noise. i tried pressing multiple times and it doesn't move down to "No". Then i tried holding down the button so it can highlite "No" Why is it that i have to hold down the button?. And for "4 Choices" when you press down, it skips the 2nd choice and down to the 3rd choice. When i press up, it goess to the first choice but not the 2nd choice. Then, i tried hold down the button from choice one and it brings me down to choice 4. When i try to move up from choice 4, it brings me up to choice 2. So basically its skipping one choice.
What is the problem?
 
so, i need a patch? is that why its causing these kinds of problems? well, after i added a few scipts however, it started working again, but now, its causing a new problem. I believe its in my topic in the General Support forums. But, whenever you get to the menu, eg. NewGame, Continue, Shutdown. It doesn't let me move up or down. so i have no other choice but to press the Enter button. When i get in the game and go to the menu. When i press down, it exits out of the menu screen, when i press up it works fine.
Could it still be that the SDK needs the patch? or a problem with one of the new scripts i added?
 

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