View Single Post
07-26-16, 08:32 PM   #84
Razor_Storm
A Kobold Labourer
Join Date: Jul 2016
Posts: 1
The functions of Garrison Follower Tooltip have additional parameters
GarrisonFollowerTooltip_Show(garrisonFollowerID, collected, quality, level, xp, levelxp, itemLevel, spec1, ability1, ability2, ability3, ability4, trait1, trait2, trait3, trait4, noAbilityDescriptions, underBiased, tooltipFrame, xpWidth)

FloatingGarrisonFollower_Toggle(garrisonFollowerID, quality, level, itemLevel, spec1, ability1, ability2, ability3, ability4, trait1, trait2, trait3, trait4)

FloatingGarrisonFollower_Show(floatingTooltip, garrisonFollowerID, followerTypeID, quality, level, itemLevel, spec1, ability1, ability2, ability3, ability4, trait1, trait2, trait3, trait4)
Be ware of the parameter "spec1", if you use these functions like you did in 6.x, then it will get errors.

The "spec1" can be got from
Lua Code:
  1. C_Garrison.GetFollowerSpecializationAtIndex(followerID, 1)
and for all followers in WOD Garrison, it is always 0.

This parameter may be used for the followers in Legion Order Hall.

Last edited by Razor_Storm : 07-26-16 at 08:34 PM.