Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GuimDev opened this issue Aug 6, 2018 · 3 comments
Open

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

GuimDev opened this issue Aug 6, 2018 · 3 comments
Assignees
Labels
Back office It is about the code / main function Easy Like riding a bike or eat frog Evolution TF improvement Fundamental (GL) Guideline for the big improvement Now I want to see this now

Comments

@GuimDev
Copy link
Owner

GuimDev commented Aug 6, 2018

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 GuimDev added Evolution TF improvement Back office It is about the code / main function Easy Like riding a bike or eat frog Now I want to see this now labels Aug 6, 2018
@GuimDev GuimDev self-assigned this Aug 6, 2018
@GuimDev
Copy link
Owner Author

GuimDev commented Aug 6, 2018

Ref #35

@GuimDev
Copy link
Owner Author

GuimDev commented Aug 6, 2018

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

@GuimDev GuimDev added the Fundamental (GL) Guideline for the big improvement label Aug 6, 2018
@GuimDev
Copy link
Owner Author

GuimDev commented Nov 30, 2018

Ref #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back office It is about the code / main function Easy Like riding a bike or eat frog Evolution TF improvement Fundamental (GL) Guideline for the big improvement Now I want to see this now
Projects
None yet
Development

No branches or pull requests

1 participant