Shadwen

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!
Learn More
VonRickroll 24 May, 2016 @ 10:56am
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.
< >
Showing 1-2 of 2 comments
EllaFB  [developer] 26 May, 2016 @ 2:04am 
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 26 May, 2016 @ 10:18am 
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
< >
Showing 1-2 of 2 comments
Per page: 1530 50