I think you are looking for this library then:
https://www.esoui.com/downloads/info...oupSocket.html
LibMapPing is different and not only for group communication.
The lib provides it's own callbacks in order to react on map pings.
See the description of the library:
https://www.esoui.com/downloads/info...ibMapPing.html
RegisterCallback
Register to callbacks from the library.
Valid events are BeforePingAdded, AfterPingAdded, BeforePingRemoved and AfterPingRemoved.
These are fired at certain points during handling EVENT_MAP_PING.
Code:
lib:RegisterCallback(string eventName, function callback)
UnregisterCallback
Unregister from callbacks. See lib:RegisterCallback.
Code:
lib:UnregisterCallback(string eventName, function callback)
And you can use GetMapPing to get info about the pig, or any of the other api functions provided
Wrapper for the different get ping functions. Returns coordinates regardless of their suppression state.
The game API functions return 0, 0 when the ping type is suppressed.
pingType is the same as for SetMapPing.
pingTag is optionally used if another group member's MAP_PIN_TYPE_PING should be returned (possible values: group1 .. group24).