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 |
|---|---|---|---|---|---|
| 101 | bool | RideSideSaddled | |||
| 102 | bool | Spooked | |||
| 103 | bool | Tracking | |||
| 104 | float | SurfaceIncline | from -3.2 till 3.14 | ||
| 105 | float | Agitation | from 0.1 till 1.0 | ||
| 106 | float | BulletFlinchDirection | from -3.2 till 3.14 | ||
| 107 | float | cautious | from 0.1 till 1.0 | ||
| 108 | float | ClimbHeight | from 0.75 till 3.5 | ||
| 109 | float | Drunkness | from 0.1 till 1.0 | ||
| 110 | float | Fatigue | from 0.1 till 1.0 | ||
| 111 | float | Fear | from 0.1 till 1.0 | ||
| 112 | float | FireDistance | from 0.1 till 4.5 | ||
| 113 | float | FoliageHeight | from 0.3 till 10.0 | ||
| 114 | float | Injury | from 0.001 till 1.0 | ||
| 115 | float | ShuntAngle | from -3.1425 till 3.1425 | ||
| 116 | float | ShuntForce | from 0.05 till 1.0 | ||
| 117 | float | Soak | from 0.1 till 1.0 | ||
| 118 | float | Strain | from 0.1 till 1.0 | ||
| 119 | float | Temperature | from -50.0 till 1000.0 | ||
| 120 | float | Unruliness | from 0.1 till 1.01 | ||
| 121 | float | WaterDepth | from 0.1 till 2.0 | ||
| 122 | float | WindSpeed | from 1.0 till 100.0 | ||
| 123 | float | StaminaCoreValue | from 0.0 till 40.0 | ||
| 124 | float | HealthCoreValue | from 0.0 till 40.0 | ||
| 125 | float | rain | from 0.1 till 1.0 | ||
| 126 | bool | BLOCK_CAMERA_DRUNK_SLUMP_BEHAVIOUR | |||
| 127 | bool | BLOCK_COFFEE_DISCARD_PROMPT | |||
| 128 | bool | BLOCK_COFFEE_DRINK_PROMPT | |||
| 129 | bool | BLOCK_STEW_DROP_PROMPT | |||
| 130 | bool | BLOCK_STEW_EAT_PROMPT | |||
| 131 | bool | BOOK_BLOCK_PAGE_NEXT | |||
| 132 | bool | BOOK_BLOCK_PAGE_PREV | |||
| 133 | bool | DoAFidget | |||
| 134 | bool | DoLowStarts | |||
| 135 | bool | FreeRoamSpawn | |||
| 136 | bool | GENERIC_ALCOHOL_ALLOW_CHUG_B | |||
| 137 | bool | GENERIC_ALCOHOL_ALLOW_CHUG_C | |||
| 138 | bool | GENERIC_ALCOHOL_BLOCK_AWAY_PROMPT | |||
| 139 | bool | GENERIC_ALCOHOL_BLOCK_CHEERS_HI_DISCARD | |||
| 140 | bool | GENERIC_ALCOHOL_BLOCK_CHEERS_HI_PUTAWAY | |||
| 141 | bool | GENERIC_ALCOHOL_BLOCK_CHEERS_LO | |||
| 142 | bool | GENERIC_ALCOHOL_BLOCK_CHUG_A | |||
| 143 | bool | GENERIC_ALCOHOL_BLOCK_CHUG_DISCARD | |||
| 144 | bool | GENERIC_ALCOHOL_BLOCK_CHUG_PUT_AWAY | |||
| 145 | bool | GENERIC_ALCOHOL_BLOCK_DISCARD_PROMPT | |||
| 146 | bool | GENERIC_ALCOHOL_BLOCK_PUTAWAY_PROMPT | |||
| 147 | bool | GENERIC_BOOK_READ_AVAILABLE | |||
| 148 | bool | GENERIC_BOOK_RETURN_AVAILABLE | |||
| 149 | bool | GENERIC_BOOK_TAKE_AVAILABLE | |||
| 150 | bool | GENERIC_DOCUMENT_FLIP_AVAILABLE | |||
| 151 | bool | GENERIC_WEAPON_CLEAN_PROMPT_AVAILABLE | |||
| 152 | bool | HIDE_STEW_DROP_PROMPT | |||
| 153 | bool | HIDE_STEW_EAT_PROMPT | |||
| 154 | bool | InCombatCharging | |||
| 155 | bool | inInspectionMode | |||
| 156 | bool | isInspectingGround | |||
| 157 | bool | isLowDeadEyeCoreActive | |||
| 158 | bool | isLowHealthCoreActive | |||
| 159 | bool | isLowStaminaCoreActive | |||
| 160 | bool | JOURNAL_BLOCK_CHAPTER_NEXT | |||
| 161 | bool | JOURNAL_BLOCK_CHAPTER_PREV | |||
| 162 | bool | JOURNAL_BLOCK_PAGE_NEXT | |||
| 163 | bool | JOURNAL_BLOCK_PAGE_PREV | |||
| 164 | bool | Loco::UseActionMode | |||
| 165 | bool | MP_CATALOGUE_BLOCK_PAGE_NEXT | |||
| 166 | bool | MP_CATALOGUE_BLOCK_PAGE_PREV | |||
| 167 | bool | PlayEquipGlovesFidget | |||
| 168 | bool | PlayEquipHatFidget | |||
| 169 | bool | PlayUnequipGlovesFidget | |||
| 170 | bool | PlayUnequipHatFidget | |||
| 171 | bool | POILookAround | |||
| 172 | bool | POILookDown | |||
| 173 | bool | POILookInto | |||
| 174 | bool | RequestKneeCrouch | |||
| 175 | bool | SHOW_COFFEE_KNEEL_DISCARD_PROMPT | |||
| 176 | bool | SideSaddleRider | |||
| 177 | bool | SpawnMissionIntro | |||
| 178 | bool | UseFacing | |||
| 179 | float | MetalDetectorDistanceToDigSite | |||
| 180 | string | DecelerationCause | stopping | ||
| 181 | string | EmotionalState | CombatMediumIntensity · CombatHighIntensity · cautious · HighIntensitySearch · cower · panic · angry · LowIntensitySearch · scared · IntimidatedOnFeet · Curious · Nervous · itchy · sad · shocked · brave · happy | ||
| 182 | string | IsAboutToRansackIdleType | ReachInPickup · ReachOverPickup | ||
| 183 | string | Stance | normal · action | ||
| 184 | string | StrafeType | Aiming · Fishing · melee · OffsetAiming | ||
| 185 | string | typeOfGetUp | front · rear | ||
| 186 | string | WeatherType | blizzard · drizzle · groundblizzard · highpressure · hurricane · rain · sandstorm · shower · sleet · snow · snowlight · sunny · thunderstorm · whiteout | ||
| 187 | string | MoodName | MoodAction · MoodAgitated · MoodAgitatedLow · MoodAngry · MoodBlizzard · MoodBrave · MoodCalmHorse · MoodCarryLarge · MoodCautious · MoodCold · MoodCombatMedium · MoodCombatMild · MoodConfused · MoodCower · MoodCurious · MoodDisgust · MoodDrunkExtreme · MoodDrunkMedium · MoodDrunkMild · MoodExertionextreme · MoodExertionmedium · MoodExertionmild · MoodExhausted · MoodFoliage · MoodHappy · MoodInjuredExtreme · MoodInjuredMedium · MoodInjuredmild · MoodIntimidated · MoodInvestigate · MoodLowDeadeye · MoodLowHealth · MoodLowStamina · MoodNervous · MoodNormal · MoodNormalCanter · MoodNormalSick · MoodNormalTrot · MoodOnFire · MoodPanic · MoodRiding · MoodRidingRelaxed · MoodRun · MoodSad · MoodScared · MoodSearchHigh · MoodSearchLow · MoodSeductive · MoodShocked · MoodSlide · MoodSmug · MoodSwamp · MoodTired · MoodUnderfireHeavy · MoodUnderfireMild · MoodWater · MoodWindExtreme · MoodWindMedium · MoodWindMild | ||
| 188 | int | prsn_ilo_time |