_SET_PED_BLACKBOARD_INT
Blackboard natives allow you to apply and check certain data to/for peds.
Hash
0x5F53010C4C3F6BAFRuntime name
SetPedBlackboardIntNamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_BLACKBOARD_INT(Ped ped, const char* variableName, int value, int removeTimer);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
variableName | const char* | — |
value | int | — |
removeTimer | int | — |
Returns void
Description
https://github.com/femga/rdr3_discoveries/tree/master/AI/BLACKBOARDS
Blackboard natives allow you to apply and check certain data to/for peds.
Blackboard bools, floats and strings are subdivided into 6 sections: "all", "animation", "any", "code", "global" and "script"
Most changes are only visible for "script" blackboards, some "script" blackboards change ped motions
"removeTimer" is self-removal timer, can be "-1" so your data will not be removed by the game (forever); 100 = 1 second
Usage
SetPedBlackboardInt(ped, variableName, value, removeTimer)
-- always works, by hash
Citizen.InvokeNative(0x5F53010C4C3F6BAF, ped, variableName, value, removeTimer)JavaScript and C#
SetPedBlackboardInt(ped, variableName, value, removeTimer);
// by hash
Citizen.invokeNative('0x5F53010C4C3F6BAF', ped, variableName, value, removeTimer);Function.Call((Hash)0x5F53010C4C3F6BAF, ped, variableName, value, removeTimer);- The name is a community guess and may change. If the named call is missing in your client build, use
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.