_SET_INTIMIDATED_FACING_ANGLE
Configures how an intimidated/hogtied ped faces the player If useLimits is false (0), the ped always fully faces the player.If useLimits is true (1), the ped’s facing is restricted within the given angle range [minAngle, maxAngle]
TASKBuild 1207
Signature
lua
SetIntimidatedFacingAngle(PlayerPedId(), true, 0.0, 0.0)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | — | |
| BOOL | — | |
| float | — | |
| float | — |
Usage
Named call
SetIntimidatedFacingAngle(PlayerPedId(), true, 0.0, 0.0)InvokeNative
Citizen.InvokeNative(0x0FE797DD9F70DFA6, PlayerPedId(), true, 0.0, 0.0)lua 1
--Set ped interaction personality to scripted timid robbery
Citizen.InvokeNative(0x24C82EF607105FAA, ped, joaat("SCRIPTEDTIMIDROB"))
-- Start intimidated task with the player
Citizen.InvokeNative(0x933ACC1A1771A288, ped, PlayerPedId(), 1, 0, 0, 0, 0, 0, 83968)
-- Make the ped face within the range 0.0 to -360.0 degrees
Citizen.InvokeNative(0x0FE797DD9F70DFA6, ped, 1, 0.0, -360.0)
-- Force the ped to always face the player
Citizen.InvokeNative(0x0FE797DD9F70DFA6, ped, 0)Details
- Hash
- Source
- VORPCORE/RDR3natives
Source: VORPCORE/RDR3natives
