Rest eventtype

From NWN Lexicon
Jump to: navigation, search

REST_EVENTTYPE_* Constant Group

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



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 due to closeness to hostile creatures, attempt was right after a combat, or another invalidating type of occurance happened to stop PC from resting.
REST_EVENTTYPE_REST_STARTED 1
Indicates that a rest event has been started for the specific PC.


See Also

functions: 

GetLastRestEventType