ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Know when player is in a building? (https://www.esoui.com/forums/showthread.php?t=898)

Mitsarugi 04/14/14 02:35 PM

Know when player is in a building?
 
I'm adding some functions to NPCReticleScan so that it will print some extra info to the Sv file
and i would like it to add if an npc is in a building/dungeon or not so what i'd like to know is how can i check if the player is in a building/dungeon?

Garkin 04/16/14 11:13 AM

Quote:

Originally Posted by Mitsarugi (Post 4306)
I'm adding some functions to NPCReticleScan so that it will print some extra info to the Sv file
and i would like it to add if an npc is in a building/dungeon or not so what i'd like to know is how can i check if the player is in a building/dungeon?

Lua Code:
  1. if GetMapContentType() == MAP_CONTENT_DUNGEON then
  2.    --some code
  3. end
Works only for dungeons.


All times are GMT -6. The time now is 08:55 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI