#2, by afrlmeWednesday, 14. June 2017, 13:33 6 years ago
No, it's just something weird with the engine where it's not clearing the action/object text before reshowing the mouse cursor. You can workaround this by disabling action text briefly. I know I looked into this because someone else asked the other month about it. I can't remember my solution exactly but it was something along the lines of using Lua script to turn action text off then back on about 1 second or so after a cutscene/display text, etc.
I know I will have it in a ved somewhere, but which is another question entirely. Sorry. Maybe whoever asked me will be able to provide the solution I used. My bloody memory is terrible.
Anyway, what's happening is that when displayed text is shown it essentially triggers a cutscene which hides the mouse cursor, however you can still technically move the mouse - bit dumb, I know - but because interaction is currently disabled it's not bothering to check what's below the cursor, so it likely still thinks the cursor is above the object/character you interacted with until the loop handler reactivates & starts checking what's under the cursor again, hence the brief flash of text that remains visible.
Ok, here's another solution you could potentially use besides briefly hiding the action text... use the setCursor() Lua function inside of an execute a script action part somewhere inside of each objects/characters action list & force the cursor to jump back to the object/characters position, so that the cursor is locked to that position. You could also use a loop to force cursor position to prevent player from moving it by enabling & disabling a mainLoop event handler whenever needed.