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! |
IsIndoors() returns true if inside false if outside - nil will be returned if "inside" but still able to mount
Conversely IsOutdoors() returns true if outdoors |
Quote:
Quite obvious, but with all my googling I was not able to find it... |
Quote:
https://www.townlong-yak.com/ -- another great resource (updated more often and has alot more things, but not as easy to navigate) |
All times are GMT -6. The time now is 12:40 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI