Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

PlayerWand

Defined in: shared.d.ts:1298

Wand controller returned by Player.wand.

equip(callback?): number

Defined in: shared.d.ts:1309

Client round trip; returns the request id. The game’s behaviour tree also draws and stows the wand, so the callback can report WAND_REVERTED: the call landed and the game undid it.

WandCallback

number


equipped(): boolean | null

Defined in: shared.d.ts:1300

Whether the wand is drawn; null before the client’s first report.

boolean | null


setStyle(style, callback?): number

Defined in: shared.d.ts:1313

Client round trip; returns the request id. Persists, so it survives a reconnect.

string

WandCallback

number


style(): string

Defined in: shared.d.ts:1302

The DT_CustomWandStyle row the wand renders, “” before the client’s first report.

string


styles(): string[]

Defined in: shared.d.ts:1304

Every style the game’s table offers, empty before the client’s first report.

string[]


unequip(callback?): number

Defined in: shared.d.ts:1311

Client round trip; returns the request id. Same WAND_REVERTED caveat as equip.

WandCallback

number