SetAreaNoRestFlag(int, object)
From NWN Lexicon
Jump to navigationJump to search
Sets if there is no resting in the given area.
void SetAreaNoRestFlag(
int bNoRestFlag,
object oArea = OBJECT_INVALID
);
Parameters
- oArea
- The area to be affected (default: OBJECT_INVALID).
Description
Sets the NoRest flag on an area.
Passing in OBJECT_INVALID to parameter oArea will result in operating on the area of the caller.
Remarks
This can be set in the toolset and edited live, the flag will change the button GUI clientside and the button can still be checked with GUI events.
Version
This function was added in 88.8193.36-11 of NWN:EE.
Example
See Also
| functions: |