Thread: Compass Events
View Single Post
08/02/14, 04:54 PM   #25
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by unLeashed3k View Post
Ok, so now I'm going way outside the box but perhaps there's a way to set the Visibility of MAP_PIN_TYPE_QUEST_OFFER to some odd alpha level (0.812) then use GetAlphaCoefficients? Wouldn't tell you the name of the NPC like GetCenterOveredPinInfo would (stringDesciption) but it would at least output something (user defined).

I have no idea what I'm talking about probably! =)
This won't help. ZO_CompassContainer:GetAlphaCoefficients(pinType) method can tell you what is alpha coefficient for given pinType, but nothing else.

But as pins are created on compass, there should be way to get information about those pins at the time when they are created. I'd try to check if there is some event which can be used. I'm not in game right now, so I can't test it, but my guess is this event:

EVENT_PLAYER_IN_PIN_AREA_CHANGED (*integer* _pinType_, *integer* _param1_, *integer* _param2_, *integer* _param3_, *bool* _playerIsInside_)
  Reply With Quote