Player::setCombatAbility

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

100 would equal attack
less then 50ish would mean run away

Only the values 0, 1 and 2 occur in the decompiled scripts. Most likely refers directly to the values also described in combatbehaviour.meta:
0: CA_Poor
1: CA_Average
2: CA_Professional

Tested this and got the same results as the first explanation here. Could not find any difference between 0, 1 and 2.

Syntax

player.setCombatAbility(p1);

Required Arguments

  • p1: int

Return value

  • Undefined

Example

// todo

See also