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.

Is this possible? Entering values by alerts?

Really don't know how to word it but I'll try my best :3. I doubt it's possible to do this but I'll just check anyway. I know almost nothing about RGSS so bear with me :P.

Basically what I was wondering is if it was possible to have an alert pop up and have an input where the person could enter a value and have it be stored in a variable. Something to the effect of this:

Code:
<script>
var Test=prompt("Message","Value for Test")
</script>

But in not javascript. I'm pretty sure it's possible to make an alert pop up in a game but I'm not sure if it's possible to make something like that.

And if that is not possible, would there be any way (fast/easy way) to have a person enter a large number around 60 digits as a value for a variable?

Thanks.
 
silver wind":2gfk3j65 said:
why don't you use 'input number' ? (one of the event commands)
it's only 8 digits, but it should be enough. 60 digit numbers.. are working for NASA oo;;
If you need to input text, it's possible with a script. try this one: Write Lite

Lol, I've tried to shrink the number down quite a bit but I've come to the conclusion I wouldn't be able to make it that short :3. I'll try that script you posted. Thanks.
 

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