SET_PED_COMBAT_MOVEMENT
Sets the combat movement style of ped: stationary, defensive, aggressive or suicidal.
Signature
void SET_PED_COMBAT_MOVEMENT(Ped ped, int combatMovement); // 0x4D9CA1009AFBD057 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | combatMovement | int |
Facts
| Name | SET_PED_COMBAT_MOVEMENT |
|---|---|
| Hash | 0x4D9CA1009AFBD057 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x4D9CA1009AFBD057, -- SET_PED_COMBAT_MOVEMENT
PlayerPedId(), -- Ped ped
0 -- int combatMovement
)Citizen.invokeNative("0x4D9CA1009AFBD057", // SET_PED_COMBAT_MOVEMENT
PlayerPedId(), // Ped ped
0 // int combatMovement
);Function.Call((Hash)0x4D9CA1009AFBD057, // SET_PED_COMBAT_MOVEMENT
API.PlayerPedId(), // Ped ped
0 // int combatMovement
);Related PED natives
- SET_PED_COMBAT_ABILITY
- SET_PED_COMBAT_ATTRIBUTES
- SET_PED_COMBAT_RANGE
- SET_PED_SHOULD_PLAY_COMBAT_SCENARIO_EXIT
- SET_PED_STEALTH_MOVEMENT
- SET_PED_CONFIG_FLAG
- SET_PED_CAN_ARM_IK
- SET_PED_CAN_BE_INCAPACITATED
- SET_PED_CAN_BE_KNOCKED_OFF_VEHICLE
- SET_PED_CAN_BE_TARGETTED
- SET_PED_CAN_BE_TARGETTED_BY_PLAYER
- SET_PED_CAN_BE_TARGETTED_BY_TEAM
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.