Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeClient APIGenerated

PvpRelationChange

Defined in: client/api.d.ts:4821

How this client now treats another player, and why.

readonly aim: "lock" | "skillshot"

Defined in: client/api.d.ts:4835

How the local player aims at them.


readonly defeat: "death" | "kneel"

Defined in: client/api.d.ts:4840

What a defeating hit does.


readonly hostile: boolean

Defined in: client/api.d.ts:4830

Whether either may hurt the other.


readonly playerId: number

Defined in: client/api.d.ts:4825

The other player’s network id.


readonly reason: "disabled" | "self" | "pair" | "rule" | "peaceful" | "notFlagged" | "noTeam" | "sameTeam"

Defined in: client/api.d.ts:4845

Which rule decided it.