REST_EVENTTYPE_* Constant Group

From NWN Lexicon
Jump to navigationJump to search

Determines the status of the last rest event for the PC in the OnPlayerRest event.


Constants

Constant Value Description
REST_EVENTTYPE_REST_CANCELLED 3
Rest event was cancelled through PC action, monster interaction, or another interrupting event.
REST_EVENTTYPE_REST_FINISHED 2
Rest event completed successfully. This is the normal constant sent after a rest.
REST_EVENTTYPE_REST_INVALID 0
Rest event last attempted was invalid; ie GetLastRestEventType was called outside of OnPlayerRest.
REST_EVENTTYPE_REST_STARTED 1
Indicates that a rest event has been started for the specific PC.


See Also

functions:

GetLastRestEventType

events:

OnPlayerRest Event