Checking if player is considered hostile for Compound or Bandit Camp?
Hello,

how can check if a certain player is currently considered hostile by either the NPCs in Outpost (along with the screen message 'You are considered hostile ..') and the Bandit Camp ?

Also, how to read the time remaining which is also displayed in the screen message?

I tried to look at the members of BasePlayer using Reflection, but to no avail.

Thank you for any hint or explanation.
player.IsHostile()

float remaining = player.unHostileTime - Time.realtimeSinceStartup;

In the TownTeleport.cs
Thank you very much.