Difference between revisions of "GetArrestedState"
Jump to navigation
Jump to search
(Clarified the conditions when this condition function will return true) |
(Added a little more clarification) |
||
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. | 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. | ||
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]] |
Revision as of 21:51, 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 (for example, with the "Wait, I know you." dialogue), will return 0.
For determining if the player is in jail, use GetDaysInJail.