Portal Problem
Portal Problem
Can somebody tell me how to use either of the portals in Grim 2? I have tried to place one in a mod but when the party walks through it the screen turns white and stays white. I was able to copy the portal definition into my mod and change the onArrival function to run a dungeon script and function of mine so I can get the screen back. But the party is then locked up. The party can't move or anything. Is it possible to free up the party after walking through the portal?
Re: Portal Problem
Going through a portal sets the time multiplier to 0.3, disables controls, and fades out the screen. You can undo the effects like this:
Code: Select all
GameMode.setTimeMultiplier(1)
GameMode.setEnableControls(true)
GameMode.fadeIn(0,0)
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.