I'm using a script that sends an XMarker to cast a targeted script effect spell on the player, it all works just fine.
Except when the player is sitting when the spell is cast. No problems if the player was standing first and would then sit down while under the spell effect.
It seems to immediately go away again after a frame or so. I know this because it displays a message, but that's the only thing I will get from it.
It does change the Camera FOV through the spellscript (OBSE Function), which may be troubling with sitting down because the FOV would stay the same. (Or was immediately reset by something, although I doubt this)
I know for a fact that this command will not kill the script when run while sitting down, because the message I told about earlier is run later in the script then the FOV line.
And absolutely NOTHING in the script has something to do with sitting down specifically.
Any idea what this could be?
Thank you in advance,
MrP