GuimDev / ProvisionsTeamFormation

TeamFormation is a user Interface for The Elder Scrolls Online, designed to show the positions and health of your teammates, like a radar.
0 stars 1 forks source link

Make Pin Array : Split array player & pin to allow infinite pin #36

Open GuimDev opened 6 years ago

GuimDev commented 6 years ago
local groupPin = g_mapPinManager:CreatePin(isLeader and MAP_PIN_TYPE_GROUP_LEADER or MAP_PIN_TYPE_GROUP, tagData)
if groupPin then
    g_activeGroupPins[groupTag] = groupPin
    local x, y = GetMapPlayerPosition(groupTag)
    groupPin:SetLocation(x, y)
end

Then :

Replace ProvTF.UI.Player[index] to : ProvTF.UI.Pin[pinid]

ProvTF.UI.Player[index].Pin = ProvTF.UI.Pin[pinid]
GuimDev commented 6 years ago

Ref #35

GuimDev commented 6 years ago

+ ZO_ClearTable(g_activeGroupPins) or g_mapPinManager:RemovePins("group")

GuimDev commented 5 years ago

Ref #4