Difference between revisions of "GetArrestedState"

From the CreationKit Wiki
Jump to navigation Jump to search
(Added a little more clarification)
m (Realized on re-read that some of my clarifications were ambiguous. The guard is NOT alarmed when they say "Wait. I know you." but it sounded like I was saying they were.)
 
Line 1: Line 1:
Returns 1 if the run-on actor is under arrest, or 0 otherwise.
Returns 1 if the run-on actor is under arrest, or 0 otherwise.


When run on the player, only seems to return 1 if a guard approaches the player. If the guard is not alarmed (for example, with the "Wait, I know you." dialogue), will return 0.
When run on the player, only seems to return 1 if a guard approaches the player. If the guard is not alarmed (which they will not be with the "Wait, I know you." dialogue), will return 0.


For determining if the player is in jail, use [[GetDaysInJail]].
For determining if the player is in jail, use [[GetDaysInJail]].


[[Category:Condition Functions]]
[[Category:Condition Functions]]

Latest revision as of 02:00, 8 December 2021

Returns 1 if the run-on actor is under arrest, or 0 otherwise.

When run on the player, only seems to return 1 if a guard approaches the player. If the guard is not alarmed (which they will not be with the "Wait, I know you." dialogue), will return 0.

For determining if the player is in jail, use GetDaysInJail.