View Single Post
02-08-15, 03:32 AM   #6
humfras
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2009
Posts: 131
First of all, the AddOn embiggen want work in its current version because the frames it's addressing do not exist anymore.


The WorldMap player arrow consists of 3 parts:
- WorldMapPlayerLower (@ FULLSCREEN strata, 100% alpha)
- WorldMapPlayerUpper (@ HIGH strata, 70% alpha)
- WorldMapPing

To color the arrow, simply do
Lua Code:
  1. WorldMapPlayerLowerIcon:SetVertexColor(1,1,0,1) --to make it yellow
  2. WorldMapPlayerUpperIcon:SetVertexColor(1,1,0,1) --to make it yellow
To change it's texture, use
Lua Code:
  1. WorldMapPlayerLowerIcon:SetTexture(<path>)
To set its size, use
Lua Code:
  1. WorldMapPlayerLower:SetSize(x,y) --default: (40,40)
  2. WorldMapPlayerUpper:SetSize(x,y) --default: (40,40)


To modify the size of the ping, you have to scale its children (centerRing, expandingRing, rotatingRing).


__________________
Author of VuhDo CursorCastBar OptiTaunt Poisoner RaidMobMarker

Last edited by humfras : 02-08-15 at 03:57 AM.
  Reply With Quote