本帖最后由 黑米馒头 于 2024-2-11 20:55 编辑 在游戏里设置 种族,但是当游戏保存之后,在数据库重新添加一个角色,然后读档的时候就会出现脚本错误,因为新添加的角色没有种族,导致下面图片也显示不出来了 下 ...
# 文本内容 text = "Graphics/Pictures/图片显示/头像/种族/" # 种族分歧 case actor.zhongzu # 人族 when "人"; facename = text + "人" # 仙族 when "仙"; facename = text + "仙" # 妖族 when "妖"; facename = text + "妖" # 兽族 when "兽"; facename = text + "兽" # 巫族 when "巫"; facename = text + "巫" # 鬼族 when "鬼"; facename = text + "鬼"else# 无族facename = text + "无" end
# 文本内容 text = "Graphics/Pictures/图片显示/头像/种族/" # 种族分歧 case actor.zhongzu # 人族 when "人"; facename = text + "人" # 仙族 when "仙"; facename = text + "仙" # 妖族 when "妖"; facename = text + "妖" # 兽族 when "兽"; facename = text + "兽" # 巫族 when "巫"; facename = text + "巫" # 鬼族 when "鬼"; facename = text + "鬼" else # 无族 facename = text + "无" end
折叠内容标题(非必须)
折叠内容
站长信箱:[email protected]|手机版|小黑屋|无图版|Project1游戏制作
GMT+8, 2024-11-22 01:35
Powered by Discuz! X3.1
© 2001-2013 Comsenz Inc.