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

Add (2) settings #26

Open
GuimDev opened this issue Jul 29, 2018 · 0 comments
Open

Add (2) settings #26

GuimDev opened this issue Jul 29, 2018 · 0 comments
Labels
Easy Like riding a bike or eat frog Settings It is about the settings

Comments

@GuimDev
Copy link
Owner

GuimDev commented Jul 29, 2018

Choose the transparency multiplicator of player out.

local defAlpha = sameZone and ((not ProvTF.UI.Player[index].data.isOut) and 1 or 0.4) or 0.2

Enable or disable group ping/point

(add :SetHidden(true) and/or :SetAlpha(0) when we switch the option) :

x, y = GetMapRallyPoint()
if not (x == 0 and y == 0) then
x, y = TeamFormation_CalculateXY(x, y)
TeamFormation_DrawGroupPoint(0, x, y, "/esoui/art/mappins/maprallypoint.dds")
end

and :

-- Set Player's Ping
x, y = GetMapPing(unitTag)
if not (x == 0 and y == 0) then
x, y = TeamFormation_CalculateXY(x, y)
TeamFormation_DrawGroupPoint(index, x, y, "/esoui/art/mappins/mapping.dds")
end

@GuimDev GuimDev added Settings It is about the settings Easy Like riding a bike or eat frog labels Jul 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Easy Like riding a bike or eat frog Settings It is about the settings
Projects
None yet
Development

No branches or pull requests

1 participant