MOUSECURSOR_* Constant Group

From NWN Lexicon
(Redirected from Mouse cursor)
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.

Used to specify mouse cursors for the SetObjectMouseCursor‎‎ function or in the EnterTargetingMode function.

Constants

The "Down" variant is the version of the cursor when the mouse cursor is pressed down and usually has "d" in the filename. The non-down is usually in the game files referred to as "up" or "u" in the filename.

Custom ones can be added from custom_00 to custom_99 (filename: gui_mp_custom00u/d to gui_mp_custom99u/d). There are only constant definitions for the first and last of that range.

Constant Value Icon Filename Description
MOUSECURSOR_DEFAULT 1 gui_mp_defaultu.tga Default mouse cursor.
MOUSECURSOR_DEFAULT_DOWN 2 gui_mp_defaultd.tga Default mouse cursor.
MOUSECURSOR_WALK 3 gui_mp_walku.tga Walking cursor.
MOUSECURSOR_WALK_DOWN 4 gui_mp_walkd.tga Walking cursor.
MOUSECURSOR_NOWALK 5 gui_mp_nowalku.tga Can not walk here.
MOUSECURSOR_NOWALK_DOWN 6 gui_mp_nowalkd.tga Can not walk here.
MOUSECURSOR_ATTACK 7 gui_mp_attacku.tga Attack selected
MOUSECURSOR_ATTACK_DOWN 8 gui_mp_attackd.tga Attack selected
MOUSECURSOR_NOATTACK 9 gui_mp_noatcku.tga Can not attack
MOUSECURSOR_NOATTACK_DOWN 10 gui_mp_noatckd.tga Can not attack
MOUSECURSOR_TALK 11 gui_mp_talku.tga Talk (icon: mouth closed)
MOUSECURSOR_TALK_DOWN 12 gui_mp_talkd.tga Talk (icon: mouth open)
MOUSECURSOR_NOTALK 13 gui_mp_talku.tga Can not talk (icon: mouth closed).
MOUSECURSOR_NOTALK_DOWN 14 gui_mp_talkd.tga Can not talk (icon: mouth open).
MOUSECURSOR_FOLLOW 15 gui_mp_followu.tga Follow.
MOUSECURSOR_FOLLOW_DOWN 16 gui_mp_followd.tga Follow.
MOUSECURSOR_EXAMINE 17 gui_mp_examineu.tga Examine (icon: eye wide)
MOUSECURSOR_EXAMINE_DOWN 18 gui_mp_examined.tga Examine (icon: eye squint)
MOUSECURSOR_NOEXAMINE 19 gui_mp_noexamu.tga Can not examine (icon: eye wide).
MOUSECURSOR_NOEXAMINE_DOWN 20 gui_mp_noexamd.tga Can not examine (icon: eye squint).
MOUSECURSOR_TRANSITION 21 gui_mp_transu.tga Transition
MOUSECURSOR_TRANSITION_DOWN 22 gui_mp_transd.tga Transition
MOUSECURSOR_DOOR 23 gui_mp_dooru.tga Door (used for transition) (icon: door closed)
MOUSECURSOR_DOOR_DOWN 24 gui_mp_doord.tga Door (used for transition) (icon: door open)
MOUSECURSOR_USE 25 gui_mp_useu.tga Use
MOUSECURSOR_USE_DOWN 26 gui_mp_used.tga Use
MOUSECURSOR_NOUSE 27 gui_mp_nouseu.tga Can not use.
MOUSECURSOR_NOUSE_DOWN 28 gui_mp_noused.tga Can not use.
MOUSECURSOR_MAGIC 29 gui_mp_magicu.tga Magic
MOUSECURSOR_MAGIC_DOWN 30 gui_mp_magicd.tga Magic
MOUSECURSOR_NOMAGIC 31 gui_mp_nomagicu.tga Can not use magic.
MOUSECURSOR_NOMAGIC_DOWN 32 gui_mp_nomagicd.tga Can not use magic.
MOUSECURSOR_DISARM 33 gui_mp_disarmu.tga Disarm trap (icon: trap closed)
MOUSECURSOR_DISARM_DOWN 34 gui_mp_disarmd.tga Disarm trap (icon: trap open)
MOUSECURSOR_NODISARM 35 gui_mp_nodisarmu.tga Can not disarm trap (icon: trap closed)
MOUSECURSOR_NODISARM_DOWN 36 gui_mp_nodisarmd.tga Can not disarm trap (icon: trap open)
MOUSECURSOR_ACTION 37 gui_mp_actionu.tga Action command
MOUSECURSOR_ACTION_DOWN 38 gui_mp_actiond.tga Action command
MOUSECURSOR_NOACTION 39 gui_mp_noactionu.tga Can not action.
MOUSECURSOR_NOACTION_DOWN 40 gui_mp_noactiond.tga Can not action.
MOUSECURSOR_LOCK 41 gui_mp_locku.tga Lock (icon: key outside lock)
MOUSECURSOR_LOCK_DOWN 42 gui_mp_lockd.tga Lock (icon: key inside lock)
MOUSECURSOR_NOLOCK 43 gui_mp_nolocku.tga Can not lock (icon: key outside lock).
MOUSECURSOR_NOLOCK_DOWN 44 gui_mp_nolockd.tga Can not lock (icon: key inside lock).
MOUSECURSOR_PUSHPIN 45 gui_mp_pushpinu.tga Pushpin (default use is for mini-map)
MOUSECURSOR_PUSHPIN_DOWN 46 gui_mp_pushpind.tga Pushpin (default use is for mini-map)
MOUSECURSOR_CREATE 47 gui_mp_createu.tga Create
MOUSECURSOR_CREATE_DOWN 48 gui_mp_created.tga Create
MOUSECURSOR_NOCREATE 49 gui_mp_nocreatu.tga Can not create.
MOUSECURSOR_NOCREATE_DOWN 50 gui_mp_nocreatd.tga Can not create.
MOUSECURSOR_KILL 51 gui_mp_killu.tga Kill (icon: skull with hollow eyes)
MOUSECURSOR_KILL_DOWN 52 gui_mp_killd.tga Kill (icon: skull with eyes)
MOUSECURSOR_NOKILL 53 gui_mp_nokillu.tga Can not kill (icon: skull with hollow eyes)
MOUSECURSOR_NOKILL_DOWN 54 gui_mp_nokilld.tga Can not kill (icon: skull with eyes)
MOUSECURSOR_HEAL 55 gui_mp_healu.tga Heal (icon: small + sign)
MOUSECURSOR_HEAL_DOWN 56 gui_mp_heald.tga Heal (icon: full + sign)
MOUSECURSOR_NOHEAL 57 gui_mp_nohealu.tga Can not heal (icon: small + sign).
MOUSECURSOR_NOHEAL_DOWN 58 gui_mp_noheald.tga Can not heal (icon: full + sign).
MOUSECURSOR_RUNARROW 59 gui_mp_arrun[00-15].tag Run (directional arrows) (icon: long arrow)
MOUSECURSOR_WALKARROW 75 gui_mp_arwalk[00-15].tag Walk (directional arrrows) (icon: short arrow)
MOUSECURSOR_PICKUP 91 gui_mp_pickupu.tga Pickup item (icon: Open/grabbing hand)
MOUSECURSOR_PICKUP_DOWN 92 gui_mp_pickupd.tga Pickup item (icon: Closed/Grabbed).
MOUSECURSOR_CUSTOM_00 93 This is the start of the custom range. It loads gui_mp_custom00u.tga from the game files.
MOUSECURSOR_CUSTOM_00_DOWN 94 This is the start of the custom range. It loads gui_mp_custom00d.tga from the game files.
MOUSECURSOR_CUSTOM_99 291 This is the end of the custom range. It loads gui_mp_custom99u.tga from the game files.
MOUSECURSOR_CUSTOM_99_DOWN 292 This is the end of the custom range. It loads gui_mp_custom99d.tga from the game files.

Version

This constants group was added in 1.80.8193.14 of NWN:EE.


See Also

functions: SetObjectMouseCursor‎‎ EnterTargetingMode