SetObjectMouseCursor( object, int )

From NWN Lexicon
Jump to: navigation, search
Nwnee logo.jpg 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.
Overrides the mouse cursor an in game object presents.
void SetObjectMouseCursor(
    object oObject,
    int nCursor = -1


The object to update.
A MOUSECURSOR_* constant specifying the mouse to use.


Overrides the mouse cursor an in game object presents.


This is useful for instance having a sign that only ever pops up the objects description or name with a MOUSECURSOR_EXAMINE instead of the default, meaning it always is examined when clicked on.

You can also have placeables which act as a transition with MOUSECURSOR_TRANSITION.


This function was added in 1.80.8193.14 of NWN:EE.


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

 author: Shadguy