Hi there, I'm new to the forums, and I need help for a module I'm trying to work on.
To help you with helping me find a solution, in basic terms, I want:
- If PC killed by Guard, then respawn in prison
- Else respawn as normal.
Based on my last four days of muddling around trying to figure it out, I suspect what I'll need is to set an integer when the PC is killed by the guard, then reset it when the PC is respawned in the prison cell.
I can find a function that lets me find out who last killed an NPC -
GetLastKiller, but I can't seem to find something that will perform a
similar function to find out who last killed the PC. Am I being dense
and missing it? Or doesn't this function exist?
Thanks so much to anyone who puts the time and effort into reading this, and more so for anyone who can help me find a viable solution.