BLACKBOARDS
Some Blackboard Values
Visible changes can only be seen with few "script" blackboards. It seems Rockstars use blackboards as decorators to check some actions status.
Example
-- SET_PED_BLACKBOARD_FLOAT (visible changes only for "script" blackboards)
-- to cancel blackboard float use value 0.0
-- last parameter is duration (in frames, -1 = forever)
Citizen.InvokeNative(0x437C08DB4FEBE2BD, PlayerPedId(), "MetalDetectorDetectionValue", 1.0, -1) -- the higher the value, the more metal detector vibrates
-- SET_PED_BLACKBOARD_BOOL (visible changes only for "script" blackboards)
-- last parameter is duration (in frames, -1 = forever)
Citizen.InvokeNative(0xCB9401F918CB0F75, PlayerPedId(), "NarrowLedge", true, 1000) -- apply "narrow" walkstyle for 1000 frames (~10 seconds)
-- SET_PED_BLACKBOARD_STRING (visible changes only for "script" blackboards)
-- last parameter is duration (in frames, -1 = forever)
Citizen.InvokeNative(0xA762C9D6CF165E0D, PlayerPedId(), "BodyPartChained", "Legs", 5000) -- apply "legschained" walkstyle for 5000 frames (~50 seconds)
-- SET_PED_BLACKBOARD_INT
-- last parameter is duration (in frames, -1 = forever)
-- in this example the native N_0x2e036f0480b8bf02() returns the amount of time elapsed since joining game
Citizen.InvokeNative(0x5F53010C4C3F6BAF, PlayerPedId(), "prsn_ilo_time", N_0x2e036f0480b8bf02(), -1) --| # | blackboard_type | blackboard_section | blackboard_name | blackboard_range_or_variants | Note |
|---|---|---|---|---|---|
| 1 | float | script | Cautious | from 0.1 till 1.0 | |
| 2 | float | script | Stealth | from 0.1 till 1.0 | |
| 3 | float | script | Bewildered | from 0.1 till 1.0 | |
| 4 | float | script | MetalDetectorDetectionValue | from 0.1 till 1.0 | |
| 5 | float | script | Sick | from 0.7 till 1.0 | |
| 6 | float | script | Stealth | from 0.1 till 1.0 | |
| 7 | bool | script | Bewildered | ||
| 8 | bool | script | blockHeadTailAdditives | ||
| 9 | bool | script | CarryBagAndersLeft | ||
| 10 | bool | script | CarryBagAndersRight | ||
| 11 | bool | script | CarryFishingpole | ||
| 12 | bool | script | CarryManure | ||
| 13 | bool | script | Cold_Empty_Stamina | ||
| 14 | bool | script | Cold_Low_Stamina | ||
| 15 | bool | script | Cold_Stamina | ||
| 16 | bool | script | Crafting_SatchelUpgrade | ||
| 17 | bool | script | DoHerdSmack | ||
| 18 | bool | script | DoHerdWhip | ||
| 19 | bool | script | DrunkStumbleActive | ||
| 20 | bool | script | FishingRodInLeftHand | ||
| 21 | bool | script | FishingRodInRightHand | ||
| 22 | bool | script | ForceHandsOnBelt | ||
| 23 | bool | script | FreeRoamSpawn | ||
| 24 | bool | script | GRAYOUT_ITEM_DROP | ||
| 25 | bool | script | GRAYOUT_ITEM_USE | ||
| 26 | bool | script | HandsOnBelt | ||
| 27 | bool | script | Handsup | ||
| 28 | bool | script | in_a_dress | ||
| 29 | bool | script | inInspectionMode | ||
| 30 | bool | script | IsCold | ||
| 31 | bool | script | IsColdFast | ||
| 32 | bool | script | isInspectingGround | ||
| 33 | bool | script | isLowDeadEyeCoreActive | ||
| 34 | bool | script | isLowHealthCoreActive | ||
| 35 | bool | script | isLowStaminaCoreActive | ||
| 36 | bool | script | IsSearching | ||
| 37 | bool | script | IsSeductive | ||
| 38 | bool | script | IsWithinHornetsVolume | ||
| 39 | bool | script | LanternHeldHigh | ||
| 40 | bool | script | MP_Style_Casual | ||
| 41 | bool | script | MP_Style_Crazy | ||
| 42 | bool | script | mp_style_drunk | ||
| 43 | bool | script | MP_Style_EasyRider | ||
| 44 | bool | script | MP_Style_Flamboyant | ||
| 45 | bool | script | MP_Style_Greenhorn | ||
| 46 | bool | script | MP_Style_Gunslinger | ||
| 47 | bool | script | mp_style_inquisitive | ||
| 48 | bool | script | MP_Style_Refined | ||
| 49 | bool | script | MP_Style_SilentType | ||
| 50 | bool | script | MP_Style_Veteran | ||
| 51 | bool | script | NarrowLedge | ||
| 52 | bool | script | odr3_basement | ||
| 53 | bool | script | odr3_outside | ||
| 54 | bool | script | OnFootIntimidateForced | ||
| 55 | bool | script | PickUpManure | ||
| 56 | bool | script | PlayEquipGlovesFidget | ||
| 57 | bool | script | PlayEquipHatFidget | ||
| 58 | bool | script | PlayLeadin | ||
| 59 | bool | script | PlayUnequipGlovesFidget | ||
| 60 | bool | script | PlayUnequipHatFidget | ||
| 61 | bool | script | PutDownManure | ||
| 62 | bool | script | SadPassenger | ||
| 63 | bool | script | SpawnMissionIntro | ||
| 64 | bool | script | Urgent_Look_Back | ||
| 65 | bool | script | Urgent_Look_Left | ||
| 66 | bool | script | UrgentGlances | ||
| 67 | string | script | BodyPartChained | Legs | |
| 68 | bool | BlockInjuredLoco | |||
| 69 | bool | DoAFidget | |||
| 70 | bool | DoBulletFlinch | |||
| 71 | bool | DoLowStarts | |||
| 72 | bool | EagleEye | |||
| 73 | bool | FoliageActive | |||
| 74 | bool | frontpassenger | |||
| 75 | bool | HandsOnBelt | |||
| 76 | bool | Handsup | |||
| 77 | bool | HorseLeadingActive | |||
| 78 | bool | InCombat | |||
| 79 | bool | IsAiming | |||
| 80 | bool | IsAimingMounted | |||
| 81 | bool | IsClimbExit | |||
| 82 | bool | IsDoingItemInteraction | |||
| 83 | bool | IsDrunk | |||
| 84 | bool | IsEnteringCover | |||
| 85 | bool | IsFocusTarget | |||
| 86 | bool | IsInInterior | |||
| 87 | bool | isInspecting | |||
| 88 | bool | IsLanding | |||
| 89 | bool | isLowStaminaCoreActive | |||
| 90 | bool | IsOnFire | |||
| 91 | bool | IsPlayer | |||
| 92 | bool | OnFootIntimidate | |||
| 93 | bool | onStairs | |||
| 94 | bool | passenger | |||
| 95 | bool | PedIsWearingHat | |||
| 96 | bool | Rider | |||
| 97 | bool | RiderAiming | |||
| 98 | bool | RiderBlockIdleVariations | |||
| 99 | bool | RiderDoWhip | |||
| 100 | bool | RiderIntensityHigh |