well after some digging around i found a trigger/untrigger that works
Code:
function() -- Trigger
return UnitInRaid("Bob")
end
function() -- untrigger
return not UnitInRaid("Bob")
end
would like the untrigger to determine if someone is out of the instance/out of range, aka on the bench, but this works for now
- - - Updated - - -
here's with the help of a buddy this is the final trigger and untrigger that we came up with:
Code:
function() -- Trigger
if (UnitInRaid("Bob") and UnitIsVisible("Bob") ==1) then
return true
else
return false
end
end
function() -- untrigger
if (UnitIsVisible("Bob")==1) then
return False
else
return true
end
end