The OnPlayerRest event is fired when a player character attempts to rest, when that resting is interrupted or canceled, and when that resting is finished. Scripts for this event usually need to check why the script fired.

Resting can be blocked by assigning ClearAllActions() to a character who is starting to rest. This will cancel the rest (and hence immediately trigger another OnPlayerRest event, this one of the "canceled" type).

Objects that define this event Edit

Related functions Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.