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