[notabug]GetTargetMountedStateInfo() issues
Code:
local _, isRidingGroupMount, hasFreePassengerSlot = GetTargetMountedStateInfo(playerDisplayName) Will return false / false ONLY if "playerDisplayName" has a regular single seat mount selected in collections. |
Quote:
Code:
local mountedState, isRidingGroupMount = GetTargetMountedStateInfo(currentTargetCharacterNameRaw) |
Quote:
|
Quote:
As I guessed before you need to take it in combination with the 1st parameter "isMounted" to find out what exactly is happening here, as the other 2 params only relate to the collections. 2nd: The 3rd param "hasFreePassengerSlot" should have these states, on the following dependencies: Multirider mount selected in collections / Owner unmounted: true Multirider mount selected in collections / Owner mounted: true if a slot is free, false if someone else is riding along as a passenger on this mount already Multirider mount not selected in collections / Owner mounted or unmounted: false At least that is what I'd assume. And if this behavior changed in the past, which always is possible, then I guess Dan's answer is still valid and true: Current version returns what he described. |
To me it sounds as if it is working correctly and you are just misunderstanding what should be happening?
When the player has the mount equipped but is not mounted, it should return false, true, true, because they do indeed use a mount with more than one seat and the passenger slot is free. |
Yes I was just looking at all the possible combos as well and came to this conclusion that using all 3 params it is possible to determine if theyre mounted on multi rider and seat available.
|
All times are GMT -6. The time now is 08:30 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI