SetGroup When Change Subjob?

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » Spellcast Scripting » Other » SetGroup when Change Subjob?
SetGroup when Change Subjob?
 Phoenix.Belgaer
Offline
Server: Phoenix
Game: FFXI
user: Belgaer
Posts: 57
By Phoenix.Belgaer 2013-03-04 10:45:27
Link | Quote | Reply
 
So, basically, I'm wanting to have my xml auto detect and lock my set group based on what subjob I currently have. I'm wanting to use this in conjunction with GearCollector so I can make GC get items (Like tools, oils/powders, etc) out of my MH based on what sub I'm currently using.


Here's what I have so far, but it's not working. Apparently line 705 (as well as 708 and 711) is badly formed or something.
http://pastebin.com/m6VwVZnK



Btw, I put this here rather than the BLU forum because it's not a job specific problem. Hope that's okay.
 Sylph.Hitetsu
Offline
Server: Sylph
Game: FFXI
user: Hitetsu
Posts: 2617
By Sylph.Hitetsu 2013-03-04 16:26:16
Link | Quote | Reply
 
Try changing setgroup to a command,
Code xml
<if mode ="and" Subjob="NIN" advanced='("%Group"=="WAR Sub|BLU")'>
                                        <command="sc group NIN Sub"/>
                                </if>
                                <elseif mode ="and" Subjob="WAR" advanced='("%Group"=="NIN Sub|BLU")'>>
                                        <command="sc group WAR Sub"/>
                                </elseif>
                                <else>
                                        <command="sc group BLU"/>
                                </else>


I could be way off the mark, it's been a while since I've done any work with Spellcast, but I don't remember <setgroup> ever being a legal tag (though I do vaguely remember it being an attribute, eg: <equip set="Idle" setgroup="Main" />).
[+]
 Bahamut.Dannyl
Offline
Server: Bahamut
Game: FFXI
user: dannyl
Posts: 1548
By Bahamut.Dannyl 2013-03-04 16:45:02
Link | Quote | Reply
 
Phoenix.Belgaer said: »
GearCollector so I can make GC get items (Like tools, oils/powders, etc) out of my MH based on what sub I'm currently using.

I don't think this is possible without having to make a new xml file specific for your subjob'ing. I could be totally wrong but I never found a solution to this.

As a result I have a BLU_RDM file, a BLU_DNC file, etc etc that would work with your commands... //gc blu/rdm, //gc blu/dnc, etc
[+]
Log in to post.