| 赞 | 0 |
| VIP | |
| 好人卡 | |
| 积分 | 1 |
| 经验 | |
| 最后登录 | 2018-9-22 |
| 在线时间 | 0 小时 |
- 梦石
- 0
- 星屑
- 55
- 在线时间
- 0 小时
- 注册时间
- 2008-3-6
- 回帖
- 10
|
加入我们,或者,欢迎回来。
您需要 登录 才可以下载或查看,没有账号?注册会员
×
我在学"跟我从头学脚本"里
第二讲开始的一个脚本就难到我了~
是这样说的:
( class Say_Something
def initialize
print “I am therefore I’m coded”
end
end
然后找个npc并在他事件页的脚本那里写入Say_Something.new
点他后我们看到什么了呢?冒出来一个写着” I am therefore I’m coded”的窗口.)
可是我加了之后,一和NPC对话就出错 显示说
"脚本'class say_something'的3行放生了nameerror.
undefined local variable or method 'coded for #<say_something:0xfe1388>"
请指教~
|
|