Thread Tools Display Modes
04/14/14, 02:35 PM   #1
Mitsarugi
 
Mitsarugi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 23
Question 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?
  Reply With Quote
04/16/14, 11:13 AM   #2
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Mitsarugi View Post
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.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Know when player is in a building?

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