Project1

标题: 有没有随机姓名生成的脚本? [打印本页]

作者: 欧买歌    时间: 2015-1-13 21:58
标题: 有没有随机姓名生成的脚本?
我想让主角的姓名随机生成,但愿这个脚本不要与我的免DLL输入法姓名输入脚本有冲突……
作者: 英顺的马甲    时间: 2015-1-13 22:07
a = ["姓","姓","姓","姓","姓","姓","姓"]
b = ["名字","名字","名字","名字","名字","名字","名字"]
$game_actors[角色id].name = a[rand(a.size)] + b[rand(b.size)]

最简单的实现法==




欢迎光临 Project1 (https://rpg.blue/) Powered by Discuz! X3.1