Modifier target argument
I have a Macro like this
Code:
#showtooltip i need to clean up, optimize this und i need help. 1. Charge the target 2. use victoryrush it is ready 3. alt modifier's cast intervene a friendly target and target the last target. i think the problem is i dont know how i use targetfriend and targetlastenemy with modifier's like /[mod:alt] targetfriend /[mod:alt] targetlastenemy thank you for your help |
You put the conditional after the command in those cases afaic.
/targetlastenemy [mod:alt] as an example. |
Dridzt is correct.
Another option would be to use the /stopmacro command before all of the [mod:alt]-only lines: Code:
#showtooltip Code:
#showtooltip Code:
#showtooltip |
sorry but it dont work i dont know why.
orginal code german spellname Code:
#showtooltip Code:
/stopmacro [nomod:alt] he dont intervene the next friendly target. i have intervene on mousecursor |
You seem to have the commands reversed.
First try to intervene then target a friend. This would only work if your target is friendly to begin with. You probably meant something like this? Code:
#showtooltip conversely it will only target last enemy if you had a friendly target (after intervene) |
thank's! it work
1. question: is it possible targetfriend replace with targetpartyenemy if it exist? big thanks |
There is no generic partyenemy.
Your options with targeting are restricted to /targetfriend (will target any friendly unit including npc/pets/totems/banners etc) /targetfriendplayer (will only target friendly player units) /targetparty (will target closest party member) /targetraid (will target closest raid member) You can probably add qualifiers to any of those to modify their behavior. There's more flexibility by adding parameters to the /cast command itself. Example: /cast [@targettarget,exists,help,nodead,noplayer][@target,exists,help,nodead][@party1,exists,nodead]Einschreiten This will try to cast Einschreiten on the first matching target evaluating from left to right: The target's target if it's friendly and alive and is not the player themselves, (ie if you have an enemy targeted but it's targeting a frienly it will intervene the friendly) or at the target if it's friendly and alive or at the first party member if it exists. |
All times are GMT -6. The time now is 10:04 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI