Difference between revisions of "GetArrestedState"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>DavidJCobb
(disassembly)
(Clarified the conditions when this condition function will return true)
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, will return 0.
For determining if the player is in jail, use [[GetDaysInJail]].


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

Revision as of 22:50, 7 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, will return 0.

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