Can Autoexec Do This Or Should I Use Spellcast?

Langues: JP EN DE FR
users online
Forum » Windower » Support » Can Autoexec do this or should I use spellcast?
Can Autoexec do this or should I use spellcast?
 Bahamut.Bizarro
Offline
Serveur: Bahamut
Game: FFXI
user: bizarro
Posts: 230
By Bahamut.Bizarro 2012-09-30 19:47:31
Link | Citer | R
 
I was hoping to use AutoExec to auto swap between groups within a XML but am unsure of the correct syntax to accomplish this. Would this work? (roughly)
Code
<register silent="true" event="equip sub  X">input sc group X</register>
<register silent="true" event="equip sub  Y">input sc group Y</register>
<register silent="true" event="equip sub  Z">input sc group Z</register>




Alternatively I'm guessing an if statement within spellcast would work, but requires something to trigger the "oh this slot changed!"?
Code
<if EquipSub="x">
<cmd>sc group x</cmd>
<elseif EquipSub = "y">
<cmd>sc group y</cmd>
</elseif>
<else>
<cmd>sc  group z</cmd>
</else>
</if>
 Bismarck.Tragedie
Offline
Serveur: Bismarck
Game: FFXI
Posts: 322
By Bismarck.Tragedie 2012-10-01 19:55:49
Link | Citer | R
 
If I know what you're trying to accomplish, you could use a trigger spell to both equip the item you want and to change the group (or just change the group if you wanna equip it manually, i.e. trial weapons, etc.)

I'm not sure if that necessarily solves your issue but at least gives you an avenue to handle the event, as I'm not sure if autoexec detects slot changes (not an autoexec expert, I know I know why am I posting, etc.)



(Credit to Byrth's post for the tutorial link.)
Log in to post.