Thread Tools Display Modes
Prev Previous Post   Next Post Next
10-21-18, 09:51 AM   #1
LudiusMaximus
A Rage Talon Dragon Guard
 
LudiusMaximus's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2018
Posts: 320
How to check if player is "outside" (mounting possible)

Is there a function to tell if the player is "inside" (where mounting is not possible) or "outside" (where mounting is possible)?

What I am really after is this: When the PLAYER_MOUNT_DISPLAY_CHANGED event is triggered and I check for (IsMounted() == false), I want to know if the player has been dismounted automatically for entering a building.

Thanks!
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » How to check if player is "outside" (mounting possible)

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off