View Single Post
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: 321
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