EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   ProfitUI (https://www.eq2interface.com/forums/forumdisplay.php?f=41)
-   -   Quick Raid Button Issue (https://www.eq2interface.com/forums/showthread.php?t=14061)

Soothing 04-05-2010 03:18 PM

Quick Raid Button Issue
 
So I went on a journey to modify my quick raid buttons to suit my needs as the default illusionist buttons did not. I got Mana Flow and Time Warp working ok however buttons 3 - 5 don't work. This is the code I have in there maybe someone can identify what I did wrong and show me a solution to fix this problem.

</Page>
<Page Name="Illusionist">
<Data Name="Button1" Macro="useabilityonplayer Parent.Target 1945409072" Tooltip="(AA) Mana Flow"/>
<Data Name="Button2" Macro="SpellForMyLevel=&quot;Time Warp&quot;
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target you have been sent into a time warp" Tooltip="(AA) Time Warp"/>
<Data Name="Button3" Macro="SpellForMyLevel=&quot;Synergism V&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(85) Synergism"/>
<Data Name="Button4" Macro="SpellForMyLevel=&quot;Prismatic Chaos VI&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(90) Prismatic Chaos"/>
<Data Name="Button5" Macro="SpellForMyLevel=&quot;Spellshield&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="Spellshield"/>
</Page>

Thank you in advance

Papabard 04-05-2010 03:25 PM

it could be that you are missing the conditions see the below code. For the 1st two there isn't really a condition to check because there is no other levels to be checked against.
<Page Name="Illusionist">
<Data Name="Button1" Macro="useabilityonplayer Parent.Target Mana Flow
tell Parent.Target Mana Flow on You
gsay Incoming Manaflow on Parent.Target" Tooltip="(AA) Mana Flow"/>
<Data Name="Button2" Macro="SpellForMyLevel='Synergism IV'
COND=(Parent.Parent.Parent.Parent.Custom.ProfitUI_QuickRaidButtons.ActualLevel.T ext < 75)
SpellForMyLevel=COND ? 'Synergism III' : SpellForMyLevel
COND=(Parent.Parent.Parent.Parent.Custom.ProfitUI_QuickRaidButtons.ActualLevel.T ext < 63)
SpellForMyLevel=COND ? 'Synergism II' : SpellForMyLevel
COND=(Parent.Parent.Parent.Parent.Custom.ProfitUI_QuickRaidButtons.ActualLevel.T ext < 49)
SpellForMyLevel=COND ? 'Synergism' : SpellForMyLevel
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target '>>> Incoming Tandem <<< Now burn them up'" Tooltip="(35) Synergism
(49) Synergism II
(63) Synergism III
(75) Synergism IV"/>
<Data Name="Button3" Macro="useabilityonplayer Parent.Target Illusory Arm
tell Parent.Target IA On you" Tooltip="(AA) Illusory Arm"/>
<Data Name="Button4" Macro="useabilityonplayer Parent.Target Time Compression
tell Parent.Target Time Compression on you" Tooltip="Time Compression"/>
<Data Name="Button5" Macro="tell Parent.Target Heart&apos;/&apos;Shard please" Tooltip="Heart/Shard request"/>
</Page>

Landiin 04-05-2010 03:49 PM

The reason why buttons 3-5 don't work is because EQ2 executes scripts top to bottom right to left. Buttons 3-5 are all one lines so it trying to do useabilityonplayer before you are setting the spellformylevel variable. Add CR like in buttons 1 and 2, then I bet your journey will come to an end! ;p

Quote:

Originally Posted by Soothing (Post 89724)
So I went on a journey to modify my quick raid buttons to suit my needs as the default illusionist buttons did not. I got Mana Flow and Time Warp working ok however buttons 3 - 5 don't work. This is the code I have in there maybe someone can identify what I did wrong and show me a solution to fix this problem.

</Page>
<Page Name="Illusionist">
<Data Name="Button1" Macro="useabilityonplayer Parent.Target 1945409072" Tooltip="(AA) Mana Flow"/>
<Data Name="Button2" Macro="SpellForMyLevel=&quot;Time Warp&quot;
useabilityonplayer Parent.Target SpellForMyLevel
tell Parent.Target you have been sent into a time warp" Tooltip="(AA) Time Warp"/>
<Data Name="Button3" Macro="SpellForMyLevel=&quot;Synergism V&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(85) Synergism"/>
<Data Name="Button4" Macro="SpellForMyLevel=&quot;Prismatic Chaos VI&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="(90) Prismatic Chaos"/>
<Data Name="Button5" Macro="SpellForMyLevel=&quot;Spellshield&quot; useabilityonplayer Parent.Target SpellForMyLevel" Tooltip="Spellshield"/>
</Page>

Thank you in advance


Soothing 04-06-2010 11:53 AM

Tyvm the fix worked and I know how my stuff setup the way I want.


All times are GMT -5. The time now is 05:55 PM.

vBulletin® - Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
© MMOUI