From NWN Lexicon
Revision as of 07:16, 11 February 2021 by Tinygiant (talk | contribs)
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.
Gets the target position in the module OnPlayerTarget event.
vector GetTargetingModeSelectedPosition(


Returns a vector position of the targeted object or location. If the target is in inventory or the player manually exits targeting mode, returns an empty vector (0.0, 0.0, 0.0)


See OnPlayerTarget for further information.


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.

See Also

functions: EnterTargetingMode() GetTargetingModeSelectedObject() GetLastPlayerToSelectTarget()

 author: Shadguy