GetObjectUiDiscoveryMask(object)

From NWN Lexicon
Jump to navigationJump to search
Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

Get the current discoverability mask of oObject.

int GetObjectUiDiscoveryMask(
    object oObject
);

Parameters

oObject
The object to get the discoverability mask for.


Description

Get the current discoverability mask of oObject.

Returns -1 if oObject cannot have a discovery mask.


Remarks

The OBJECT_UI_DISCOVERY_MODE_* mask is a bitmask thus multiple values can be valid at once.


Version

This function was added in 1.87.8193.35 of NWN:EE.


Example

This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

See Also

functions:

SetObjectUiDiscoveryMask()


 author: Shadguy