I messed with this all night and I can not seem to find a way to do this.
downshit2=/if (!${Me.CombatState.Equal[Combat]} && !${Me.Moving} && !${Me.Sitting} && !${Stick.Active} && ${Me.PctEndurance}<90) /sit
Simple enough right ? The problem I'm having is when I send a attack command to this toon ( after the tank is engaged ) about half the time he will just sit right back down. So i wanted to put an and in there to make sure the tank/assist is not in combat but I could not find a way to do that .. there doesn't seem to be a type for MainAssist or MainTank combat status. The closest I found was spawn.playerstate but none of those masks seem to hit the nail. And Group.MainAssist just doesn't have a member to do that like Me.CombatState does.
I know it can be done (the combat status of a character) I am just not seeing how. Even if it was just getting the status of the mob the tank/assist is attacking would help ..but not my first choice.
There are a few things i could do with that especially in raids so this isn't the only example I'm looking for this for. Plus using group or raid assist is generic enough where i don't have to plug in names.
downshit2=/if (!${Me.CombatState.Equal[Combat]} && !${Me.Moving} && !${Me.Sitting} && !${Stick.Active} && ${Me.PctEndurance}<90) /sit
Simple enough right ? The problem I'm having is when I send a attack command to this toon ( after the tank is engaged ) about half the time he will just sit right back down. So i wanted to put an and in there to make sure the tank/assist is not in combat but I could not find a way to do that .. there doesn't seem to be a type for MainAssist or MainTank combat status. The closest I found was spawn.playerstate but none of those masks seem to hit the nail. And Group.MainAssist just doesn't have a member to do that like Me.CombatState does.
I know it can be done (the combat status of a character) I am just not seeing how. Even if it was just getting the status of the mob the tank/assist is attacking would help ..but not my first choice.
There are a few things i could do with that especially in raids so this isn't the only example I'm looking for this for. Plus using group or raid assist is generic enough where i don't have to plug in names.