Welcome
Name
1.0.0.0
Generates random names from a series of pre-defined name creation functions as well as allowing selection from a list of stored names.
GNU GPL v3
Centauri Soldier
www.AMSPublic.com
CentauriSoldier@AMSPublic.com
Copyright © 2010 AMSPublic.com
Place the "Name" folder in your "AutoPlay Media Studio\Plugins\Action" folder.
Name.Generate
Name.GetNames
Name.GetRandom
(string) Name.Generate ( | (number) Type = NAME_TYPE_VOWEL, (number) Length = 5 ) |
Generates a random name from a series of pre-definded functions, offering a unique result.
(number) The type of sound with which the name will start.
CONSTANT | VALUE | DESCRIPTION |
NAME_TYPE_VOWEL | 1 | NA |
NAME_TYPE_CONSONANT | 2 | NA |
NAME_TYPE_DOUBLE_VOWEL | 3 | NA |
NAME_TYPE_DOUBLE_CONSONANT | 4 | NA |
(number) The length of the genreated name.
(string)
Retruns a random name as a string.
(table) Name.GetNames () |
Gets the list of stored names.
(table)
Returns a table index by "Female" and "Male".
Each of those indexes are indexed by upper-case letters of the alphabet.
Each of those letters is a numerically-indexed table containing the names.
local tNames = Name.GetNames();
Dialog.Message("Test", tNames["Male"]["C"][44]);
(string) Name.GetRandom ( | (string) Class = "Male", (string) Letter = "*" ) |
Gets a random name from the list of stored names.
(string) Female or Male (or both).
CONSTANT | VALUE | DESCRIPTION |
"Female" | "Female" | NA |
"Male" | "Male" | NA |
"*" | "*" | Both Female and Male |
(string) The letter with which the name should start.
CONSTANT | VALUE | DESCRIPTION |
"A" | NA | NA |
"B" | NA | NA |
"C" | NA | NA |
"D" | NA | NA |
"E" | NA | NA |
"F" | NA | NA |
"G" | NA | NA |
"H" | NA | NA |
"I" | NA | NA |
"J" | NA | NA |
"K" | NA | NA |
"L" | NA | NA |
"M" | NA | NA |
"N" | NA | NA |
"O" | NA | NA |
"P" | NA | NA |
"Q" | NA | NA |
"R" | NA | NA |
"S" | NA | NA |
"T" | NA | NA |
"U" | NA | NA |
"V" | NA | NA |
"W" | NA | NA |
"X" | NA | NA |
"Y" | NA | NA |
"Z" | NA | NA |
"*" | NA | Choose from all letters |
(string)
Retruns a random name as a string.
Copyright © 2010 AMSPublic.com
This File Was Generated With AMS ActionFile Editor