Skip to content

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

@GuimDev

Description

@GuimDev
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]

Metadata

Metadata

Assignees

Labels

Back officeIt is about the code / main functionEasyLike riding a bike or eat frogEvolutionTF improvementFundamental (GL)Guideline for the big improvementNowI want to see this now

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions