I was meaning to set something like this up myself. I created a panel for Omen and a Panel for Recount (similar size and placement, but not exactly since things get wonky for me when I parent the Omen Anchor and try to mimic sizes) then set the follow code:
if (event == "PLAYER_REGEN_DISABLED") then
Recount.MainWindow:Hide()
if not Omen.Anchor:IsVisible() then
Omen:Toggle()
end
elseif event == "PLAYER_REGEN_ENABLED" then
Recount.MainWindow:Show()
if Omen.Anchor:IsVisible() then
Omen:Toggle()
end
end
Recount and Omen Panels OnClick:
if Recount.MainWindow:IsVisible() then
Recount.MainWindow:Hide()
Omen:Toggle()
else
Recount.MainWindow:Show()
Omen:Toggle()
end
Can someone help me im trying to do something like this but with more
If im in combat, not in a vehicle, my target is a hostle npc my omen would show.
However if
Im in combat, in a vehicle, my target is a hostile npc my omen wouldnt show.
If i change my target to a friendly npc or a friendly player while in combat it would swap to recount
if the vehicle thing cant be done can some1 help me just getting it to swap when im in combat and my target is a hostile npc
0
0
Can someone help me im trying to do something like this but with more
If im in combat, not in a vehicle, my target is a hostle npc my omen would show.
However if
Im in combat, in a vehicle, my target is a hostile npc my omen wouldnt show.
If i change my target to a friendly npc or a friendly player while in combat it would swap to recount
if the vehicle thing cant be done can some1 help me just getting it to swap when im in combat and my target is a hostile npc