[Bug] Game.ANYFUNCTION will crash the game

Discussion about Mods for Prison Architect

Moderator: NBJeff

grandsong
level0
Posts: 7
Joined: Sun Oct 09, 2016 10:02 am

[Bug] Game.ANYFUNCTION will crash the game

Postby grandsong » Wed Nov 02, 2016 12:23 pm

Priority: Normal

In world.lua, I can see Game with many function/methods thanks to the explorer mode of Script Debugger Window.

I am not going to make scenarios/stories. But methods about contraband, equipment and camera movement are very interesting to me.

I was very excited and tried following examples from script file under [/campaign] folder.

Then I get a game crash. Then another...

I tested several methods of Game. If the parameters are invalid, there will be errors in Script Debugger Window. If I pass parameters correctly, well, the program will die.

Too bad.

So many possibilities are just dead as well.

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 7 guests