Wikia

WoWWiki

Watchlist Recent changes

API IsMounted

Main Menue



Checks to see if the player is mounted or not.

Arguments Edit

None

Returns Edit

1 if the player is currently mounted, nil otherwise

Example Code Edit

mounted = IsMounted()

If the player is mounted then the value of mounted will be 1. However if the player is not mounted then mounted will have a value of nil. To save space, instead of assiging the return value of IsMounted() to mounted, IsMounted() can be inserted into the code like a number.

/script if IsMounted() == nil then...

In this case if the player is not mounted then the code after then will be excuted.

Details Edit

Unknown which patch IsMounted() was added in.

Pages on WoWWiki

94,160pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,615photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki