Page 1 of 1
Enable and Disable Resting
Posted: Sun Sep 20, 2015 6:09 pm
by Emera Nova
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
Posted: Sun Sep 20, 2015 8:37 pm
by minmay
return false from PartyComponent.onRest hook
Re: Enable and Disable Resting
Posted: Mon Sep 21, 2015 1:27 am
by Isaac
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.