Skip to content
ASArcaneMP Scripting APIScripting reference
Data shapeServer APIGenerated

SpellCastInfo

Defined in: server/api.d.ts:5873

Where a defined spell’s cast was aimed, as its caster reported it.

readonly aimYaw: number

Defined in: server/api.d.ts:5877

World yaw in degrees the cast was aimed along (the caster’s camera); the caster’s facing when the client sent none.


readonly target: SpellCastTarget | null

Defined in: server/api.d.ts:5887

What the game aimed the cast at, as the caster reported it: null when nothing, or a target the server dropped (an entity it doesn’t know, or farther than 80 m from the caster).


readonly wand: Vector3

Defined in: server/api.d.ts:5882

The caster’s wand tip as the cast began; the caster’s position when the client sent none or one more than 5 m away.