OBJECT_UI_DISCOVERY_* Constant Group
From NWN Lexicon
Jump to navigationJump to search
The discovery mask to apply to oObject when used with SetObjectUiDiscoveryMask and GetObjectUiDiscoveryMask.
The objects that can be affected are creatures, placeables, items and doors (which never get text bubbles).
Triggers need to be tested, and may work, although also do not use text bubbles.
Constants
| Constant | Value | Description |
|---|---|---|
| OBJECT_UI_DISCOVERY_DEFAULT | -1 | Applies the default discovery mode for the given object. This means highlight for everything, and textbubbles for everything except doors. It won't be returned by GetObjectUiDiscoveryMask as it is just a parameter in SetObjectUiDiscoveryMask. |
| OBJECT_UI_DISCOVERY_NONE | 0 | Cannot have highlight or textbubble by TAB or mouseover. Still can be clicked on however - see SetUseableFlag to disable that as well (and in fact this is essentially if SetUseableFlag was set to FALSE). |
| OBJECT_UI_DISCOVERY_HILITE_MOUSEOVER | 1 | Highlights the object on mouseover. |
| OBJECT_UI_DISCOVERY_HILITE_TAB | 2 | Highlights the object on text. |
| OBJECT_UI_DISCOVERY_TEXTBUBBLE_MOUSEOVER | 4 | Textbubble popup on mouseover. Does not apply to doors which never have text bubbles. |
| OBJECT_UI_DISCOVERY_TEXTBUBBLE_TAB | 8 | Textbubble popup on tab. Does not apply to doors which never have text bubbles. |
See Also
| functions: | SetObjectUiDiscoveryMask | GetObjectUiDiscoveryMask |