So I am creating a different type of game in VX ace, in this game there will be time lapses and NPC die and are born several times each game session. So I want to make a random name generator. What I want is a pool of sounds (Ka,Ji,Xu,Ra,Re,Lu...) and the generator will pick two or three random sounds from the pool and create a name.
The game uses almost none of the standard game mechanics that VX gives you so if the script does not change a actors name it is fine but I would like it to be saved as a string or similar so I can use it in messages and so on.
Anyone got any ideas of how I can write a script to make this name generator happen?
Creating a random name generator
● ARCHIVED · READ-ONLY
-
-
name = ""sound = 3number = 2for i in 0...soundcase rand(number)when 0; name += "a"when 1; name += "b"endendmsgbox nameMaybe something like that.
-
Thx, I will try it!
-
"random name" is something different than "random letters".
There are a number of random name generators available on the web (especially if you look for tools for Pen-and-paper-RPG's), but they all work with syllables and not letters as a basic component, because random letters rarely get pronouncable names.
And the higher the name of syllable provided, the better the quality...