View Single Post
09/22/20, 05:24 PM   #9
QuantumPie
AddOn Author - Click to view addons
Join Date: Sep 2019
Posts: 32


groupPin and leaderPin are the result of:
Lua Code:
  1. addon.groupPin = ZO_MapPin.PIN_DATA[MAP_PIN_TYPE_GROUP]
  2. addon.leaderPin = ZO_MapPin.PIN_DATA[MAP_PIN_TYPE_GROUP_LEADER]

pinData is the result of doing the same thing in IconFromName with the pin parameter. I'm essentially trying to figure out how to get the entire pin object from my hooks size function so I can adjust it individually. If I were to randomly generate a size, each players pin would be a different size and that removes the issue of the global change if I did it from ZO_MapPin.PIN_DATA[MAP_PIN_TYPE_GROUP]. But how could I do it for a specific player as opposed to a random number? The most direct approach I thought of was figuring out how to access the pin parameter from the hook and calling GetUnitTag() of that pin. If it isn't possible, how else could I change the size for a specfic player's pin?

Last edited by QuantumPie : 09/22/20 at 05:27 PM.
  Reply With Quote