Skip to content

Commit

Permalink
shared: Add PedConfigFlag enum
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Oct 13, 2023
1 parent c7e170f commit 5929bec
Show file tree
Hide file tree
Showing 2 changed files with 573 additions and 0 deletions.
286 changes: 286 additions & 0 deletions shared/js/enums/pedConfigFlag.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,286 @@
alt.Enums.PedConfigFlag = Object.freeze({
NO_CRITICAL_HITS: 2,
DROWNS_IN_WATER: 3,
DISABLE_RETICULE_FIXED_LOCKON: 4,
UPPER_BODY_DAMAGE_ANIMS_ONLY: 7,
NEVER_LEAVES_GROUP: 13,
BLOCK_NON_TEMPORARY_EVENTS: 17,
CAN_PUNCH: 18,
IGNORE_SEEN_MELEE: 24,
GET_OUT_UNDRIVEABLE_VEHICLE: 29,
CAN_FLY_THRU_WINDSCREEN: 32,
DIES_WHEN_RAGDOLL: 33,
HAS_HELMET: 34,
PUT_ON_MOTORCYCLE_HELMET: 35,
DONT_TAKE_OFF_HELMET: 36,
DISABLE_EVASIVE_DIVES: 39,
DONT_INFLUENCE_WANTED_LEVEL: 42,
DISABLE_PLAYER_LOCKON: 43,
DISABLE_LOCKON_TO_RANDOM_PEDS: 44,
ALLOW_LOCKON_TO_FRIENDLY_PLAYERS: 45,
BEING_DELETED: 47,
BLOCK_WEAPON_SWITCHING: 48,
NO_COLLISION: 52,
IS_SHOOTING: 58,
WAS_SHOOTING: 59,
IS_ON_GROUND: 60,
WAS_ON_GROUND: 61,
IN_VEHICLE: 62,
ON_MOUNT: 63,
ATTACHED_TO_VEHICLE: 64,
IS_SWIMMING: 65,
WAS_SWIMMING: 66,
IS_SKIING: 67,
IS_SITTING: 68,
KILLED_BY_STEALTH: 69,
KILLED_BY_TAKEDOWN: 70,
KNOCKEDOUT: 71,
IS_SNIPER_SCOPE_ACTIVE: 72,
SUPER_DEAD: 73,
USING_COVER_POINT: 75,
IS_IN_THE_AIR: 76,
IS_AIMING_GUN: 78,
FORCE_PED_LOAD_COVER: 93,
VAULT_FROM_COVER: 97,
IS_DRUNK: 100,
FORCED_AIM: 101,
IS_NOT_RAGDOLL_AND_NOT_PLAYING_ANIM: 104,
FORCE_RELOAD: 105,
DONT_ACTIVATE_RAGDOLL_FROM_VEHICLE_IMPACT: 106,
DONT_ACTIVATE_RAGDOLL_FROM_BULLET_IMPACT: 107,
DONT_ACTIVATE_RAGDOLL_FROM_EXPLOSIONS: 108,
DONT_ACTIVATE_RAGDOLL_FROM_FIRE: 109,
DONT_ACTIVATE_RAGDOLL_FROM_ELECTROCUTION: 110,
KEEP_WEAPON_HOLSTERED_UNLESS_FIRED: 113,
GET_OUT_BURNING_VEHICLE: 116,
BUMPED_BY_PLAYER: 117,
RUN_FROM_FIRES_AND_EXPLOSIONS: 118,
TREAT_AS_PLAYER_DURING_TARGETING: 119,
IS_HAND_CUFFED: 120,
IS_ANKLE_CUFFED: 121,
DISABLE_MELEE: 122,
DISABLE_UNARMED_DRIVEBYS: 123,
JUST_GETS_PULLED_OUT_WHEN_ELECTROCUTED: 124,
NM_MESSAGE_466: 125,
WILL_NOT_HOTWIRE_LAW_ENFORCEMENT_VEHICLE: 126,
WILL_COMMANDEER_RATHER_THAN_JACK: 127,
CAN_BE_AGITATED: 128,
FORCE_PED_TO_FACE_LEFT_IN_COVER: 129,
FORCE_PED_TO_FACE_RIGHT_IN_COVER: 130,
BLOCK_PED_FROM_TURNING_IN_COVER: 131,
KEEP_RELATIONSHIP_GROUP_AFTER_CLEAN_UP: 132,
FORCE_PED_TO_BE_DRAGGED: 133,
PREVENT_PED_FROM_REACTING_TO_BEING_JACKED: 134,
IS_SCUBA: 135,
WILL_ARREST_RATHER_THAN_JACK: 136,
REMOVE_DEAD_EXTRA_FAR_AWAY: 137,
RIDING_TRAIN: 138,
ARREST_RESULT: 139,
CAN_ATTACK_FRIENDLY: 140,
WILL_JACK_ANY_PLAYER: 141,
WILL_JACK_WANTED_PLAYERS_RATHER_THAN_STEAL_CAR: 144,
SHOOTING_ANIM_FLAG: 145,
DISABLE_LADDER_CLIMBING: 146,
STAIRS_DETECTED: 147,
SLOPE_DETECTED: 148,
COWER_INSTEAD_OF_FLEE: 150,
CAN_ACTIVATE_RAGDOLL_WHEN_VEHICLE_UPSIDE_DOWN: 151,
ALWAYS_RESPOND_TO_CRIES_FOR_HELP: 152,
DISABLE_BLOOD_POOL_CREATION: 153,
SHOULD_FIX_IF_NO_COLLISION: 154,
CAN_PERFORM_ARREST: 155,
CAN_PERFORM_UNCUFF: 156,
CAN_BE_ARRESTED: 157,
PLAYER_PREFER_FRONT_SEAT_MP: 159,
IS_INJURED: 166,
DONT_ENTER_VEHICLES_IN_PLAYERS_GROUP: 167,
PREVENT_ALL_MELEE_TAUNTS: 169,
IS_INJURED2: 170,
ALWAYS_SEE_APPROACHING_VEHICLES: 171,
CAN_DIVE_AWAY_FROM_APPROACHING_VEHICLES: 172,
ALLOW_PLAYER_TO_INTERRUPT_VEHICLE_ENTRY_EXIT: 173,
ONLY_ATTACK_LAW_IF_PLAYER_IS_WANTED: 174,
PEDS_JACKING_ME_DONT_GET_IN: 177,
PED_IGNORES_ANIM_INTERRUPT_EVENTS: 179,
IS_IN_CUSTODY: 180,
FORCE_STANDARD_BUMP_REACTION_THRESHOLDS: 181,
LAW_WILL_ONLY_ATTACK_IF_PLAYER_IS_WANTED: 182,
IS_AGITATED: 183,
PREVENT_AUTO_SHUFFLE_TO_DRIVERS_SEAT: 184,
USE_KINEMATIC_MODE_WHEN_STATIONARY: 185,
ENABLE_WEAPON_BLOCKING: 186,
HAS_HURT_STARTED: 187,
DISABLE_HURT: 188,
PLAYER_IS_WEIRD: 189,
DO_NOTHING_WHEN_ON_FOOT_BY_DEFAULT: 193,
USING_SCENARIO: 194,
VISIBLE_ON_SCREEN: 195,
DONT_ACTIVATE_RAGDOLL_ON_VEHICLE_COLLISION_WHEN_DEAD: 199,
HAS_BEEN_IN_ARMED_COMBAT: 200,
AVOIDANCE_IGNORE_ALL: 202,
AVOIDANCE_IGNORED_BY_ALL: 203,
AVOIDANCE_IGNORE_GROUP1: 204,
AVOIDANCE_MEMBER_OF_GROUP1: 205,
FORCED_TO_USE_SPECIFIC_GROUP_SEAT_INDEX: 206,
DISABLE_EXPLOSION_REACTIONS: 208,
DODGED_PLAYER: 209,
WAITING_FOR_PLAYER_CONTROL_INTERRUPT: 210,
FORCED_TO_STAY_IN_COVER: 211,
GENERATES_SOUND_EVENTS: 212,
LISTENS_TO_SOUND_EVENTS: 213,
ALLOW_TO_BE_TARGETED_IN_A_VEHICLE: 214,
WAIT_FOR_DIRECT_ENTRY_POINT_TO_BE_FREE_WHEN_EXITING: 215,
ONLY_REQUIRE_ONE_PRESS_TO_EXIT_VEHICLE: 216,
FORCE_EXIT_TO_SKYDIVE: 217,
DONT_ENTER_LEADERS_VEHICLE: 220,
DISABLE_EXIT_TO_SKYDIVE: 221,
SHRINK: 223,
MELEE_COMBAT: 224,
DISABLE_POTENTIAL_TO_BE_WALKED_INTO_RESPONSE: 225,
DISABLE_PED_AVOIDANCE: 226,
FORCE_RAGDOLL_UPON_DEATH: 227,
DISABLE_PANIC_IN_VEHICLE: 229,
ALLOWED_TO_DETACH_TRAILER: 230,
IS_HOLDING_PROP: 236,
BLOCKS_PATHING_WHEN_DEAD: 237,
FORCE_SKIN_CHARACTER_CLOTH: 240,
DISABLE_STOPPING_VEHICLE_ENGINE: 241,
PHONE_DISABLE_TEXTING_ANIMATIONS: 242,
PHONE_DISABLE_TALKING_ANIMATIONS: 243,
PHONE_DISABLE_CAMERA_ANIMATIONS: 244,
DISABLE_BLIND_FIRING_IN_SHOT_REACTIONS: 245,
ALLOW_NEARBY_COVER_USAGE: 246,
CAN_PLAY_IN_CAR_IDLES: 248,
CAN_ATTACK_NON_WANTED_PLAYER_AS_LAW: 249,
WILL_TAKE_DAMAGE_WHEN_VEHICLE_CRASHES: 250,
AI_CAN_DRIVE_PLAYER_AS_REAR_PASSENGER: 251,
PLAYER_CAN_JACK_FRIENDLY_PLAYERS: 252,
IS_ON_STAIRS: 253,
AI_DRIVER_ALLOW_FRIENDLY_PASSENGER_SEAT_ENTRY: 255,
ALLOW_MISSION_PED_TO_USE_INJURED_MOVEMENT: 257,
PREVENT_USING_LOWER_PRIORITY_SEATS: 261,
DISABLE_CLOSING_VEHICLE_DOOR: 264,
TELEPORT_TO_LEADER_VEHICLE: 268,
AVOIDANCE_IGNORE_WEIRD_PED_BUFFER: 269,
ON_STAIR_SLOPE: 270,
DONT_BLIP_COP: 272,
CLIMBED_SHIFTED_FENCE: 273,
KILL_WHEN_TRAPPED: 275,
EDGE_DETECTED: 276,
AVOID_TEAR_GAS: 279,
NO_WRITHE: 281,
ONLY_USE_FORCED_SEAT_WHEN_ENTERING_HELI_IN_GROUP: 282,
DISABLE_WEIRD_PED_EVENTS: 285,
SHOULD_CHARGE_NOW: 286,
RAGDOLLING_ON_BOAT: 287,
HAS_BRANDISHED_WEAPON: 288,
FREEZE_POSITION: 292,
DISABLE_SHOCKING_EVENTS: 294,
NEVER_REACT_TO_PED_ON_ROOF: 296,
DISABLE_SHOCKING_DRIVING_ON_PAVEMENT_EVENTS: 299,
DISABLE_PED_CONSTRAINTS: 301,
FORCE_INITIAL_PEEK_IN_COVER: 302,
DISABLE_JUMPING_FROM_VEHICLES_AFTER_LEADER: 305,
IS_IN_CLUSTER: 310,
SHOUT_TO_GROUP_ON_PLAYER_MELEE: 311,
IGNORED_BY_AUTO_OPEN_DOORS: 312,
NO_PED_MELEE: 314,
CHECK_LOS_FOR_SOUND_EVENTS: 315,
CAN_SAY_FOLLOWED_BY_PLAYER_AUDIO: 317,
ACTIVATE_RAGDOLL_FROM_MINOR_PLAYER_CONTACT: 318,
FORCE_POSE_CHARACTER_CLOTH: 320,
HAS_CLOTH_COLLISION_BOUNDS: 321,
HAS_HIGH_HEELS: 322,
DONT_BEHAVE_LIKE_LAW: 324,
DISABLE_POLICE_INVESTIGATING_BODY: 326,
DISABLE_WRITHE_SHOOT_FROM_GROUND: 327,
LOWER_PRIORITY_OF_WARP_SEATS: 328,
DISABLE_TALK_TO: 329,
DONT_BLIP: 330,
IS_SWITCHING_WEAPON: 331,
IGNORE_LEG_IK_RESTRICTIONS: 332,
ALLOW_TASK_DO_NOTHING_TIMESLICING: 339,
NOT_ALLOWED_TO_JACK_ANY_PLAYERS: 342,
ALWAYS_LEAVE_TRAIN_UPON_ARRIVAL: 345,
ONLY_WRITHE_FROM_WEAPON_DAMAGE: 347,
USE_SLO_MO_BLOOD_VFX: 348,
EQUIP_JETPACK: 349,
PREVENT_DRAGGED_OUT_OF_CAR_THREAT_RESPONSE: 350,
FORCE_DEEP_SURFACE_CHECK: 356,
DISABLE_DEEP_SURFACE_ANIMS: 357,
DONT_BLIP_NOT_SYNCED: 358,
IS_DUCKING_IN_VEHICLE: 359,
PREVENT_AUTO_SHUFFLE_TO_TURRET_SEAT: 360,
DISABLE_EVENT_INTERIOR_STATUS_CHECK: 361,
HAS_RESERVE_PARACHUTE: 362,
USE_RESERVE_PARACHUTE: 363,
TREAT_DISLIKE_AS_HATE_WHEN_IN_COMBAT: 364,
ONLY_UPDATE_TARGET_WANTED_IF_SEEN: 365,
ALLOW_AUTO_SHUFFLE_TO_DRIVERS_SEAT: 366,
PREVENT_REACTING_TO_SILENCED_CLONE_BULLETS: 372,
DISABLE_INJURED_CRY_FOR_HELP_EVENTS: 373,
NEVER_LEAVE_TRAIN: 374,
DONT_DROP_JETPACK_ON_DEATH: 375,
DISABLE_AUTO_EQUIP_HELMETS_IN_BIKES: 380,
IS_CLIMBING_LADDER: 388,
HAS_BARE_FEET: 389,
GO_ON_WITHOUT_VEHICLE_IF_IT_IS_UNABLE_TO_GET_BACK_TO_ROAD: 391,
BLOCK_DROPPING_HEALTH_SNACKS_ON_DEATH: 392,
FORCE_THREAT_RESPONSE_TO_NON_FRIEND_TO_FRIEND_MELEE_ACTIONS: 394,
DONT_RESPOND_TO_RANDOM_PEDS_DAMAGE: 395,
ALLOW_CONTINUOUS_THREAT_RESPONSE_WANTED_LEVEL_UPDATES: 396,
KEEP_TARGET_LOSS_RESPONSE_ON_CLEANUP: 397,
PLAYERS_DONT_DRAG_ME_OUT_OF_CAR: 398,
BROADCAST_RESPONDED_TO_THREAT_WHEN_GOING_TO_POINT_SHOOTING: 399,
IGNORE_PED_TYPE_FOR_IS_FRIENDLY_WITH: 400,
TREAT_NON_FRIENDLY_AS_HATE_WHEN_IN_COMBAT: 401,
DONT_LEAVE_VEHICLE_IF_LEADER_NOT_IN_VEHICLE: 402,
ALLOW_MELEE_REACTION_IF_MELEE_PROOF_IS_ON: 404,
USE_NORMAL_EXPLOSION_DAMAGE_WHEN_BLOWN_UP_IN_VEHICLE: 407,
DISABLE_HOMING_MISSILE_LOCK_FOR_VEHICLE_PED_INSIDE: 408,
DISABLE_TAKE_OFF_SCUBA_GEAR: 409,
ALPHA: 410,
LAW_PEDS_CAN_FLEE_FROM_NON_WANTED_PLAYER: 411,
FORCE_BLIP_SECURITY_PEDS_IF_PLAYER_IS_WANTED: 412,
IS_HOLSTERING_WEAPON: 413,
USE_GO_TO_POINT_FOR_SCENARIO_NAVIGATION: 414,
DONT_CLEAR_LOCAL_PASSENGERS_WANTED_LEVEL: 415,
BLOCK_AUTO_SWAP_ON_WEAPON_PICKUPS: 416,
THIS_PED_IS_A_TARGET_PRIORITY_FOR_AI: 417,
IS_SWITCHING_HELMET_VISOR: 418,
FORCE_HELMET_VISOR_SWITCH: 419,
FLAMING_FOOTPRINTS: 421,
DISABLE_VEHICLE_COMBAT: 422,
DISABLE_PROP_KNOCK_OFF: 423,
FALLS_LIKE_AIRCRAFT: 424,
USE_LOCKPICK_VEHICLE_ENTRY_ANIMATIONS: 426,
IGNORE_INTERIOR_CHECK_FOR_SPRINTING: 427,
SWAT_HELI_SPAWN_WITHIN_LAST_SPOTTED_LOCATION: 428,
DISABLE_STARTING_VEHICLE_ENGINE: 429,
IGNORE_BEING_ON_FIRE: 430,
DISABLE_TURRET_OR_REAR_SEAT_PREFERENCE: 431,
DISABLE_WANTED_HELICOPTER_SPAWNING: 432,
USE_TARGET_PERCEPTION_FOR_CREATING_AIMED_AT_EVENTS: 433,
DISABLE_HOMING_MISSILE_LOCKON: 434,
FORCE_IGNORE_MAX_MELEE_ACTIVE_SUPPORT_COMBATANTS: 435,
STAY_IN_DEFENSIVE_AREA_WHEN_IN_VEHICLE: 436,
DONT_SHOUT_TARGET_POSITION: 437,
DISABLE_HELMET_ARMOR: 438,
PREVENT_VEH_EXIT_DUE_TO_INVALID_WEAPON: 441,
IGNORE_NET_SESSION_FRIENDLY_FIRE_CHECK_FOR_ALLOW_DAMAGE: 442,
DONT_LEAVE_COMBAT_IF_TARGET_PLAYER_IS_ATTACKED_BY_POLICE: 443,
CHECK_LOCKED_BEFORE_WARP: 444,
DONT_SHUFFLE_IN_VEHICLE_TO_MAKE_ROOM: 445,
GIVE_WEAPON_ON_GETUP: 446,
DONT_HIT_VEHICLE_WITH_PROJECTILES: 447,
DISABLE_FORCED_ENTRY_FOR_OPEN_VEHICLES_FROM_TRY_LOCKED_DOOR: 448,
FIRES_DUMMY_ROCKETS: 449,
IS_ARRESTING: 450,
IS_DECOY_PED: 451,
HAS_ESTABLISHED_DECOY: 452,
BLOCK_DISPATCHED_HELICOPTERS_FROM_LANDING: 453,
DONT_CRY_FOR_HELP_ON_STUN: 454,
CAN_BE_INCAPACITATED: 456,
MUTABLE_FORCED_AIM: 457,
DONT_CHANGE_TARGET_FROM_MELEE: 458
});
Loading

0 comments on commit 5929bec

Please sign in to comment.