Enable and Disable Resting
-
Emera Nova
- Posts: 146
- Joined: Wed Jun 11, 2014 1:31 am
Enable and Disable Resting
Does anyone know what code would need placed into the game to prevent people from resting. I'd like to be able to control when the player is able to rest.
Re: Enable and Disable Resting
return false from PartyComponent.onRest hook
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.
Re: Enable and Disable Resting
You might want to do more than that. You could also allow resting for a few moments, then display a graphic image or text that explains why they cannot rest there; and force the party awake.
*In Eye of the Beholder 2 they did just this in a certain area with respawning ants.
*In Eye of the Beholder 2 they did just this in a certain area with respawning ants.