Skip to main content

Player::setCombatRange

Only the values 0, 1 and 2 occur in the decompiled scripts. Most likely refers directly to the values also described as AttackRange in combatbehaviour.meta: 0: CR_Near 1: CR_Medium 2: CR_Far

Syntax

```js player.setCombatRange(p1); ```

Required Arguments

  • p1: int

Return value

  • Undefined

Example

```js // todo ```

See also