Originally Posted by sirinsidiator
UNIT_FRAMES.groupSize is only updated in specific cases. - EVENT_PLAYER_ACTIVATED fires
- EVENT_GROUP_UPDATE fires and EVENT_UNIT_CREATED or EVENT_UNIT_DESTROYED has fired before
- every second in the OnUpdate handler of ZO_UnitFrames if EVENT_UNIT_CREATED or EVENT_UNIT_DESTROYED has fired before
If you want to know the group size before that happens, use GetGroupSize() instead.
|
Thank you. I actually was just trying to check if the unit frames for group were ready. I guess this wasn't the best way to do this. Anyway, as I said, I'm gonna improve the tests and run some full scenarios so I can better evaluated what happens when and in what order.