SET_PED_COMBAT_MOVEMENT
0 - Stationary (Will just stand in place) 1 - Defensive (Will try to find cover and very likely to blind fire) 2 - Offensive (Will attempt to charge at enemy but take cover as well) 3 - Suicidal Offensive (Will try to flank enemy in a su…
Hash
0x4D9CA1009AFBD057Runtime name
SetPedCombatMovementNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x4D9CA1009AFBD057Signature
void SET_PED_COMBAT_MOVEMENT(Ped ped, int combatMovement);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
combatMovement | int | — |
Returns void
Description
0 - Stationary (Will just stand in place)
1 - Defensive (Will try to find cover and very likely to blind fire)
2 - Offensive (Will attempt to charge at enemy but take cover as well)
3 - Suicidal Offensive (Will try to flank enemy in a suicidal attack)
Usage
SetPedCombatMovement(ped, combatMovement)
-- always works, by hash
Citizen.InvokeNative(0x4D9CA1009AFBD057, ped, combatMovement)JavaScript and C#
SetPedCombatMovement(ped, combatMovement);
// by hash
Citizen.invokeNative('0x4D9CA1009AFBD057', ped, combatMovement);Function.Call((Hash)0x4D9CA1009AFBD057, ped, combatMovement);Enums and flags
- CCombatData__Movement 5 values
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.