Command for reverting a single variable back the original value?
I'd use /ma Reset <varname>, then in the Reset trap, have something like
Code:<elseif advanced='"$%SpellTargetRaw" != ""'> [can't remember what it returns when the variable doesn't exist; use that as the check] <var cmd="set %SpellTargetRaw $Default%SpellTargetRaw" /> </elseif>
Any way to do that without having to type out the full name? Btw, I changed my <equip> model back to...
I might change $Weapon back to $Style. Atm, I'm unsure whether I want to use that or an overlay set [EX: Pet(Active):$Mode(Pet)] for BST/SMN.Code:<equip set="$Weapon:$Mode(%Status)|$Armor(%Status)|$Movement(%Status)|$Override(%Status)">
For bst, it seems it would be style: Pet priority; master priority, or hybrid; BST doesn't really change style w/ stances like mnk, sam, dnc, nin do or differences between h2h, dual wield, single wield, and 2-handed styles from weapons.
I think the override set is either for Twilight or Killer instinct.
I think pup would work the same for pet vs master style toggling; although there might be times to use dagger on pup for Amber AoE.. dagger style might be different.. I've not played pup enough yet to offer a better opinion.
Override is going to be a complete VAR set for mega-advanced users that like to mix in alias.
<var name="TP-Body">Blah</var>
<var name="TP-Hands">Blah</var>
etc
For specific stuff like Twilight or Killer instinct, I'll be doing . . .
A variable for JA/Spell buffs per class + $BuffName(Active)
With this method, I can have a single variable for asking whether a buff is active and discriminate precast/duration sets using $BuffName(Precast):Mode(%Status) and $BuffName(Active):Mode(%Status). This also lets you handle buff overlay sets on a TP Mode by TP Mode basis.
As for style, the term merely refers to how you're taking offensive action. Typically, this means a weapon, but stuff like Footwork/Pets distort that. Stances like Hasso/Saber Dance can work through the overlay system.
According to you, setting $Weapon to Pet/Weapon works. For hyrbid, I'm sure there is room using the TP Mode method rather than weapon.
Well, you could always add in the variable specifically to your reset block, then allow for a shorthand glob check. EG:
Though that might be somewhat limiting, depending on your purpose. I don't think there's any way to grep for an arbitrary variable name.Code:<var name="BerserkMode">Off</var> <if Spell="Reset"> <if SpellTargetRaw="bers*"> <var cmd="set BerserkMode Off" /> </if> </if>
I'll just limit the reset button to Armor/Movement/Override or multiples of these then I guess.
question:
Does this work for or in the advanced?
Or do I need to need to separate each possibility?Code:<if advanced='"%petname"="PrestoJulio|DiscreetLouise|FlowerpotMerle"'> <var cmd="set Kookie Red Hot cracker" /> </if>
Code:<if advanced='"%petname"="PrestoJulio" or "%petname"="DiscreetLouise"'> <var cmd="set Kookie Red Hot cracker" /> </if>
Have to use the second one.
Any way to make different tp set depending on tp return fast enough to have it check before a hit ? I want to try to make different tp set depending on conserve tp proc but idk if that is possible.
Depends on how fast the game loads TP and how fast AutoExec can read TP. If AE is fast, you can have AE read when you get TP and if TP=#, then input a variable to change your TP set. This will all depend on how your current XML is structured though.
Ok, should finish my spellcast (w/o) that rule tonight then I'll pastbin it and see if it can be done better; ty.
Trying to use new gear crashes my windower. Tried the new resources on the windower forums, as well as the radsources one, and same story. What am I missing?
Were you logged when you deleted the resources? Try logging off > Replace > Relog in.
Shouldn't need to relog, pretty sure /sc reload is sufficient. In a pinch, you can add the item yourself. The item id is the number in the ffxiah link, then just edit whatever language fields are relevant + jpl (level) and item name.
In the Spellcast folder, how do you set up xml's for two different characters, but for the same job?
Name_Class.xml