LIB 3D arrow
Hello i'm trying to create a simple arrow using lib3D arrow, but it isn't working and idk what i'm doing wrong.
This is my code : function GetPosShuba() playerX, playerY = LibGPS2:LocalToGlobal(GetMapPlayerPosition("player")) d("X :" ..playerX .." Y:" ..playerY) end function VisShuba() d("ex2 X :" ..playerX .." Y:" ..playerY) waypoint = Lib3DArrow:CreateArrow({ depthBuffer = false, arrowMagnitude = 5, arrowScale = 1, arrowHeight = 1, arrowColour = "FF0000", distanceDigits = 4, distanceScale = 25, distanceColour = "FFFFFF", markerColour = "FF0000", markerScale = 1, }) waypoint:SetTarget(playerX, playerY) waypoint.arrow:SetHidden(false/ true) --tried both but now working waypoint.distance:SetHidden(false / true) waypoint.marker:SetHidden(false / true) end SLASH_COMMANDS["/getposshuba"] = GetPosShuba SLASH_COMMANDS["/visibleshuba"] = VisShuba Ty for the help in case :) Link of Lib3DArrow : https://www.esoui.com/downloads/info...ib3DArrow.html |
Please use the appropriate forums to ask for lua/XML help.
The Addon help/Support forums are for user questions about addons, not coding questions. btw isn't the actual LibGPS global variable to use LibGPS3? Quote:
|
Quote:
i found out the code can work outside of the dungeons/arenas. There is any way to make it work inside dungeons? |
No, this is unfortunately prohibited by the game !
Like described here: https://www.esoui.com/forums/showthread.php?t=9865 |
All times are GMT -6. The time now is 02:58 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI