I don't want my AI package on a particular NPC to work if the player is in jail but I cannot find a working condition to achieve this. I have tried using GetArrestedState but when I set that to zero the package plays in and out of jail. When I set it to anything else, it does not work anywhere.
I would assume that it would be one if the player was in jail or zero if the player was not in jail but if thats the case the condition is broken (or I misunderstand how it works). Can anyone else do a quick test to confirm this? Or suggest other methods to achieve this?
IF I REMEMBER CORRECTLY (my CK not open at the mo)
You can change what the Condition is running "ON"
It is probably defaulted to run On-Subject ... which will test if your NPC is in Jail.
IF YOU CAN, change it to run on the player.
IF YOU CAN"T do that (because I mis-remember) then you'll need have some script (Maybe via Story Manager?) to detect when the player goes to jail and disable the relevant package on the relevant NPC (and reenable when player leaves/escapes Jail)