View Single Post
01/16/23, 11:28 AM   #3
Masteroshi430
 
Masteroshi430's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2020
Posts: 185
Originally Posted by Baertram View Post
I think there is no API to check for IsMounted(unitTag), there only exists IsMounted() for the own player, isn't it? So this would not be possible at all as it seems.
It works, I use it in minimap by Fyrakin, mounted group members have a horse icon
Lua Code:
  1. isMounted = GetTargetMountedStateInfo(GetRawUnitName(tag)) ~= MOUNTED_STATE_NOT_MOUNTED

(tag is the group tag of course)

Last edited by Masteroshi430 : 01/16/23 at 11:39 AM.
  Reply With Quote