View Single Post
10/25/23, 02:05 PM   #3
sinnereso
AddOn Author - Click to view addons
Join Date: Oct 2022
Posts: 247
Originally Posted by ZOS_DanBatson View Post
isRidingGroupMountis a bit poorly named. It actually should be called hasActiveGroupMount, because it just refers to what kind of mount you've equipped in collections, not whether or not you are mounted currently. That's what the first arg you're ignoring is for. This is how we do it in vanilla:

Code:
local mountedState, isRidingGroupMount = GetTargetMountedStateInfo(currentTargetCharacterNameRaw)
local isPassengerForTarget = IsGroupMountPassengerForTarget(currentTargetCharacterNameRaw)
local groupMountEnabled = (mountedState == MOUNTED_STATE_MOUNT_RIDER and isRidingGroupMount and (not IsMounted() or isPassengerForTarget))
the issue is its returning true for "isRidingGroupMount" & "hasFree Passenger Slot" when they are standing on foot unmounted with only a group mount selected in collections... they both turn false when they select a single seat mount and are still unmounted. It previously did function correctly in the past. Sometime within the last 6mo it has changed.

Last edited by sinnereso : 10/26/23 at 06:57 AM.
  Reply With Quote