Page 1 of 1

Scry 'Sensor' doesn't follow Target PC

Posted: Wed Aug 18, 2021 4:54 am
by triaddraykin
Description
==========
The invisible character you become, heretofore known as a Sensor, will not follow a target reliably during the process of scrying. It's very common for them to end up on the other side of a door, and not update when the person moves away.

Steps to reproduce
----------------------------
Scry a PC that is near a transition with a door on it.
Scry a PC that is moving.
Scry a PC that is near a wall.
Scry a PC that is moving to a different area through a transition.
Scry a PC that is moving through an area where the pathing is not clear.
Scry a PC that has used a portal lens.
Scry a PC that has used an Attunement Potion.
Scry a PC during lag.
Scry a PC that has already moved out of the area while you were loading the area.

Expected result
-----------------------
The Sensor stays within melee range of the target PC, and provides audio, visual, and speech cues that are perceptible to the player.

Actual result
-------------------
The Sensor ends up behind a barrier (door, wall, anything that prevents a direct path to the target) and does not move within audio, visual, or speech range of the target PC.
The Sensor does not follow a PC that has exited the area by transition, has already moved out of the area while player was loading the area, or a PC that has used a portal lense or attunement potion, and does not move within audio, visual, or speech range of the target PC.

Screenshot(s)
--------------------
https://imgur.com/t0cGfX0

Misc Notes
----------------
There should be a function that 'jumps' the sensor to the PC, if it's not within a certain range.
This is such a common issue that people have been known to intentionally place themselves near doors or walls to cause scriers to intentionally be shoved into these areas.

Which Server(s)?
------------------------
Cities and Planes
Underdark
Surface
Guldorand

Gaming Platform(s)?
------------------------------
PC - Steam

Original post: viewtopic.php?f=52&t=34593&p=271730#p271730

Re: Scry 'Sensor' doesn't follow Target PC

Posted: Wed Aug 18, 2021 3:45 pm
by Batrachophrenoboocosmomachia
Making some adjustments to this. Live next reset or the one after that. It might not work in all cases but hopefully will in most. More drastic changes might be necessary but could be expensive/problematic in different ways, would need to give it some thought. Basically we're reliant on nwn AI at this stage and that's never good.

You can chalk it up to magic being mysterious and unreliable sometimes until we land on something foolproof.

Re: Scry 'Sensor' doesn't follow Target PC

Posted: Wed Aug 18, 2021 7:42 pm
by Aelryn Bloodmoon
Batrachophrenoboocosmomachia wrote: Wed Aug 18, 2021 3:45 pm You can chalk it up to magic being mysterious and unreliable sometimes until we land on something foolproof.
Spitballing, but would it be possible to tie a jump to player command to the scrying sensor npc?

I remember jump to point and jump to DM, but not jump to player, so possibly jump to [coordinates after whatever fetch command here]? I'm uncertain what the conditional for it activating would be - perhaps when the player and the sensor are no longer in the same loaded area, to prevent unnecessary jumping.

Then for good measure, slap on the same behavior that makes some monsters track you to the literal ends of Arelith once you make them mad.