Project1

标题: Undefined Error [打印本页]

作者: yoru1412    时间: 2021-5-11 18:04
标题: Undefined Error
I'm trying converting one script from RGSS2 into RGSS3, then I meet this error. I don't make sense why this "alias" can be error. Help me plz! Thank you <3
(Sorry bc I can't speak Chinese)
Here is error:
https://imgur.com/RQrMxFi
作者: yoru1412    时间: 2021-5-11 18:06
标题: Undefined Error
本帖最后由 yoru1412 于 2021-5-11 18:08 编辑

I'm trying converting one script from RGSS2 to RGSS3. I don't make sense why this "alias" is faulty. Help me plz! Thank you <3 <3 <3.
(Sorry bc I can't speak Chinese, and I don't wanna use Google Translate or sth else)
error:

code:


作者: yoru1412    时间: 2021-5-11 18:07
error: https://imgur.com/RQrMxFi
code: https://imgur.com/edTvTv7

作者: 喵呜喵5    时间: 2021-5-11 18:49
Vx ace rewrite the whole script
in rgss3, Game_Interpreter not have this method
作者: yoru1412    时间: 2021-5-11 18:54
but this class added this method, tho...

作者: 喵呜喵5    时间: 2021-5-11 19:12
yoru1412 发表于 2021-5-11 18:54
but this class added this method, tho...

So, this code is total designed for RGSS2
If you want to use it in RGSS3, you need to change some logic for the different between RGSS2 and RGSS3
作者: 喵呜喵5    时间: 2021-5-11 19:16
本帖最后由 喵呜喵5 于 2021-5-11 19:19 编辑

alias meaning give a new name for the origin method.
In RGSS3, Game_Interpreter do not have origin method named command_end, so the code throw a undefined error
作者: yoru1412    时间: 2021-5-11 22:15
Ah! I found that function in rgss2 Game_Intepreter. Thank you very much, I love it. Can I return here to ask you about some error idk that i'll meet?
作者: 任小雪    时间: 2021-5-11 22:48
歪吧歪吧,为什么你们都懂英国老鼠
作者: 喵呜喵5    时间: 2021-5-11 23:11
yoru1412 发表于 2021-5-11 22:15
Ah! I found that function in rgss2 Game_Intepreter. Thank you very much, I love it. Can I return her ...

Of course,
but please paste raw code instead of pasting a picture.

Imgur has been blocked in China




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