IsMounted

From ESOUI Wiki

(Difference between revisions)
Jump to: navigation, search
(created page to describe function whose name does not indicate that it refers to the player only)
(reformatted and categorized)
 
Line 1: Line 1:
-
'''IsMounted()''' is a [[function]] in the [[API#Game_API|Game API]] that returns true or false depending on whether the Player is currently mounted.
+
This function returns true if the player is currently mounted, or false otherwise.
 +
 
 +
== Example ==
 +
<source lang="lua">
 +
if IsMounted() then
 +
  d("gotta go fast")
 +
else
 +
  d("Time for a leisurely walk.")
 +
end
 +
</source>
 +
 
 +
== External links ==
 +
* {{GitHubSearchLink}}
 +
 
 +
[[Category:API functions]]
 +
[[Category:Mount functions]]

Latest revision as of 14:34, 4 November 2019

This function returns true if the player is currently mounted, or false otherwise.

Example

if IsMounted() then
   d("gotta go fast")
else
   d("Time for a leisurely walk.")
end

External links

Personal tools
Namespaces
Variants
Actions
Menu
Wiki
Toolbox