groupPin and leaderPin are the result of:
Lua Code:
addon.groupPin = ZO_MapPin.PIN_DATA[MAP_PIN_TYPE_GROUP]
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?