Skip to content
ASArcaneMP Scripting APIScripting reference
Global objectClient APIGenerated

GroundMount

const GroundMount: object

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

The local player’s ground creature mounts: the graphorn.

canDismount(): boolean

Whether the active handler owns both a rider and a live creature, which is what the native teardown requires.

boolean

canMount(): boolean | null

Calls the game’s production gate. This is PERMISSION ONLY — it checks no-mount zones, map-area rules and the designer toggle, never ownership, so AND it with isEquipped(). It is also a global: a remote player standing in a no-mount zone flips it false for everyone, so do not trust a false as ‘this player may not mount’.

boolean | null

dismount(animated?): boolean

Dismounts the local player. Returns false until the handler owns a live creature — the native reports success even when it changed nothing, so this refuses first. Asked mid-transition it cancels the transition rather than dismounting, so a second call may be needed.

boolean

Play the dismount transition instead of the instant teardown. Defaults to false.

boolean

equip(itemId?): boolean | null

Moves a stored mount into the active holder using the production holder model — evict then insert, because the active holder has no native replace. False while mounted or summoning.

string

Stored mount to equip, e.g. GraphornMount.

boolean | null

inventory(): MountInventoryState | null

Returns the equipped mount id and stored rows; null if native inventory is unreadable.

MountInventoryState | null

isEquipped(): boolean | null

Whether the active holder contains a mount; null if inventory is unreadable.

boolean | null

isInStorage(): boolean | null

Whether the storage holder contains an unequipped mount; null if inventory is unreadable.

boolean | null

isMounted(): boolean

Whether the local player is riding a mount of this family. Settled state only — false through the summon animation, which summoning() covers.

boolean

mount(options?): boolean

Starts the production summon for whatever equip() last put in the active holder. The default goes through the gadget-wheel item-use path; either option routes through the mount tool directly, which is the only way to skip the animation or start airborne. The bool means ‘request admitted’, not ‘mounted’ — observe state() and retry while an async tool class loads.

transition defaults true (the bag summon animation); inFlight summons already airborne.

boolean

boolean

boolean

mounted(): boolean

Old name of isMounted.

boolean

Use isMounted, as the is/has/can convention names a state getter.

state(): MountState

Returns structured mount state without parsing diagnostics.

MountState

summoning(): boolean

Whether a summon of this family has been accepted but has not seated the player yet.

boolean

unequip(): boolean | null

Moves the active mount back to storage. False while mounted or summoning.

boolean | null