Skip to content

mount

Puts a player on a mount, such as the ethereal horse of a statuette.

Source: src/Moongate.Server.Ultima/Modules/MountModule.cs

mount.dismount(rider) -> boolean

Gets the player or the creature off its mount: the mount item is gone and the creature, or the statuette of an ethereal mount, comes back where the rider stands, as when it gets off by itself. False for a mobile that rides nothing or a serial that is no mobile.

ParameterTypeDefault
riderinteger

Returns boolean.

mount.ride_ethereal(player, statuette) -> boolean

Puts the player on the ethereal mount of the statuette, an item of a template with the tag mount_item that lies in the player's backpack: the statuette is gone and the mount is worn; getting off gives the statuette back. False, with the reason told to the player, when the statuette is not in its backpack or it already rides; false and silent for a ghost, an item that is no statuette, or a serial that is not a player or an item in the world.

ParameterTypeDefault
playerinteger
statuetteinteger

Returns boolean.

mount.toggle_stone(player, stone) -> boolean

Puts the player on the mount of the stone, an item of a template with the tag mount_item that lies in the player's backpack, and gets it off when it rides the mount of this very stone, wherever the stone lies; the stone stays in the backpack. False, with the reason told to the player, when the stone is not in its backpack (to get on) or the player is on another mount; false and silent for a ghost, an item that is no stone, or a serial that is not a player or an item in the world.

ParameterTypeDefault
playerinteger
stoneinteger

Returns boolean.

Made with ❤️ by Tom

Buy me a coffee