Shadwen
Shadwen Workshop - Create and modify maps!
Modify or create entirely new maps for Shadwen with the Frozenbyte Editor for Windows. Submit your maps for everyone to play and enjoy!
了解更多
VonRickroll 2016 年 5 月 24 日 上午 10:56
Console doesn't return anything
Hi,
In editor, in game view, the F8 lua console only return nil values. Whatever variable you try to assign or print, you get nil. Which is quite difficult for debugging/writing scripts.

However, I'm not sure many people are poking around the console so I understand if this isn't top priority at the moment. I can work around this by typing what I want in a script and reloadAllScripts and then launch the script, it's painful but it eventually does the job.
< >
正在显示第 1 - 2 条,共 2 条留言
EllaFB  [开发者] 2016 年 5 月 26 日 上午 2:04 
I had to ask some questions from our coders, I kinda feel sorry for them every time I ask them anything. Lets see if I understood them correctly and we can find a solution for your problem.

They said that you should get other than nil values when the command is entered in the console. Command you should use is:

return variableName

For example, "return fuiManager" or "return gameStatusModule".

What happens if you input the variable like this?

PS. My advisor coder also promised that these example commands do not cause your computer to explode if you want to check what happens if you input them. :D
VonRickroll 2016 年 5 月 26 日 上午 10:18 
Dang.
Now I remember I figured it out for Trine. I must be getting old.
Sorry for wasting your time.

Time to script now :D
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50