PlayerStatus

From Nexus Mods Wiki
Revision as of 21:55, 17 March 2016 by Tinmantex (talk | contribs) (Created page with "==Overview== Some player status can be checked via bit flags using specfic bitflag functions Example: <code> if PlayerInfo.AndCheckStatus{PlayerStatus.NORMAL_ACTION}then if...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Overview

Some player status can be checked via bit flags using specfic bitflag functions

Example:

if PlayerInfo.AndCheckStatus{PlayerStatus.NORMAL_ACTION}then

   if PlayerInfo.OrCheckStatus{PlayerStatus.STAND,PlayerStatus.SQUAT}then

PlayerStatus bitflags

STAND

SQUAT

CRAWL

NORMAL_ACTION

PARALLEL_MOVE

IDLE

GUN_FIRE

GUN_FIRE_SUPPRESSOR

STOP

WALK

RUN

DASH

ON_HORSE

ON_VEHICLE

ON_HELICOPTER

HORSE_STAND

HORSE_HIDE_R

HORSE_HIDE_L

HORSE_IDLE

HORSE_TROT

HORSE_CANTER

HORSE_GALLOP

BINOCLE

SUBJECT

INTRUDE

LFET_STOCK

CUTIN

DEAD

DEAD_FRESH

NEAR_DEATH

NEAR_DEAD

FALL

CBOX

CBOX_EVADE

TRASH_BOX

TRASH_BOX_HALF_OPEN

INJURY_LOWER

INJURY_UPPER

CURE

CQC_CONTINUOUS

BEHIND

ENABLE_TARGET_MARKER_CHECK

UNCONSCIOUS

PARTS_ACTIVE

CARRY

CURTAIN

VOLGIN_CHASE