Skip to content

Using the cursor within NWNScript?

I've been looking around Lexicon for a while, looked for sample scripts on the vault, and just generally googled, it and found nothing. Is there a way to use the cursor from within NWNScript? For instance to select an item?

Or is there another way to accomplish letting the player select an item from wtihin a script?

Comments

  • WilliamDracoWilliamDraco Member Posts: 175
    There is currently proposed a way to trigger the Targeting Mode from NWScript, but that's only in the preview (where there are no promises it will make it to Dev/Stable).

    Another way to do it involves using one of the Player Tools as a targetting tool, see the brief explaination here: https://nwn.fandom.com/wiki/Player_tool
    JohnnyWarp
  • JohnnyWarpJohnnyWarp Member Posts: 3
    Thanks WilliamDraco. I'll take a look at the link and see what I can come up with.
  • JohnnyWarpJohnnyWarp Member Posts: 3
    Just a shoutout to the devs: EnterTargetingMode in .14 is awesome!. Thanks!
    WilliamDraco
Sign In or Register to comment.