GetLastPlayerToSelectTarget()
From NWN Lexicon
Jump to navigationJump to searchGets the player object that triggered the OnPlayerTarget event.
Description
Gets the player object that triggered the OnPlayerTarget event.
Remarks
The player should be in a valid area, unless they managed to jump to another area thus cancelling the event in progress, so be careful in those cases doing anything to the player in question if their area is invalid (ie middle of the transtion to a new area many things will not work).
Version
This function was added in 1.80.8193.14 of NWN:EE.
Example
See Also
functions: | EnterTargetingMode() GetTargetingModeSelectedObject() GetTargetingModeSelectedPosition() |
author: Shadguy