• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver

Request - Use conditions to control tank mode with varset?

Overtimer

Seasoned veteran member
Joined
May 8, 2021
RedCents
748¢
I am using the following to turn off burns in kiss-assist.
Can I use conditions to control what mode I am in?

forexample:
/varset tankmode 0 :default
/varset tankmode 1 :tank
/varset tankpuller 1 :tank&puller
/varset assist 1 :assist




/varset BurnAllNamed 0
/varset BurnAllNamed 1
dps1=burn thing|99|cond1
cond1=${Target.Named} && ${BurnAllNamed}
 
Yes, you can. What are you trying to accomplish - there may be a better way.

Here is how you create your variables. In Kiss Assist, do a Find (Ctrl+F) and find ' Sub DeclareOuters '

What you would want to do is introduce (create) your declarations in this section - you notice. Example:
/declare DebugAllOn int outer 0
In other words:
/declare <name of variable> <int/string> outer <default on (1) or off (2) - if a string, default value of string>

In using your specific example, you could very well do:
/declare tankmode int outer 0

Then in your conditions
DPSx=doyourstuff|99|Condx
Condx=${tankmode}



Now, what I do for mine (maybe it helps). This is the code I put in the DeclareOuters section
/declare SmallBurn int outer 0
/declare MediumBurn int outer 0
/declare BigBurn int outer 0

Then in game, I have (3) regular socials - one for each burn. In each I broadcast to my toons to set the variable (varset) to on (1):
/dgze /varset SmallBurn 1
/dgze /varset MediumBurn 1
/dgze / varset BigBurn 1

Additionally, in the combat reset portion of Kiss Assist (Ctrl+F) and find ' Sub CombatReset ' I turn these variables off:
/varset SmallBurn 0
/varset MediumBurn 0
/varset BigBurn 0

Gives me full manual control of the pilot to turn on these variables.

Now, in each ini I've put the various discs, and the conditions I would be using them. If, for example, I have something I want in only one category, I put it on its own condition. If I'd like to be in both (or all), I just put "OR" between (pipes ||).
Condx=(${BigBurn} || ${MediumBurn} || ${SmallBurn})

I would use a condition like this on a smaller burn, and make sure it is LOWER in the DPS list (if using DPSOn=1) or lower on the threshold |20 or so (if using DPSOn=2). The main reason is the preferred burn discs would be staged higher, and one of these "lesser" abilities would only go off should the better ability already be on cooldown.
 
Thank you so much, now to rack my brains around this, hehe.

I do my code changes (really meant to say, hope it works) while I am farming aa, so on the fly, I see the results, It's kind of fun doing that way.
It does make aa farming go faster for me.

Thank you again.
 
Yes, you can. What are you trying to accomplish - there may be a better way.

Here is how you create your variables. In Kiss Assist, do a Find (Ctrl+F) and find ' Sub DeclareOuters '

What you would want to do is introduce (create) your declarations in this section - you notice. Example:
/declare DebugAllOn int outer 0
In other words:
/declare <name of variable> <int/string> outer <default on (1) or off (2) - if a string, default value of string>

In using your specific example, you could very well do:
/declare tankmode int outer 0

Then in your conditions
DPSx=doyourstuff|99|Condx
Condx=${tankmode}

Ok, I can't test this now, I am at work. My take on what you wrote. Please feel free to correct me.
I could add more modes if I wanted to? I might be close or way off the mark, lol. Looking forward to your reply.

Sub DeclareOuter section.
/declare tank int outer 0
/declare pullertank int outer 0
/declare Assist int outer 0


Hotbuttons-1 Manual, (not sure what this does).
/varset tank 0
/varset pullertank 0
/varset assist 0

Hotbuttons-2 Tank.
/varset tank 1
/varset pullertank 0
/varset assist 0

Hotbuttons-3 Puller Tank.
/varset tank 0
/varset pullertank 1
/varset assist 0

Hotbuttons-4 Assist.
/varset tank 0
/varset pullertank 0
/varset assist 1


Conditions-This is where i get lost.
DPS1=tank|99|Cond1
Cond1=${tankmode}

DPS2=pullertank|99|Cond2
Cond2=${tankmode}

DPS2=assist|99|Cond3
Cond3=${tankmode}
 
The main reason I went with a global reset, is some fights I may throw on a small or medium burn (5 - 20 minute burns), whereas other fights I might just do the 5 min burns (small burn) and wanted to make sure no matter what was turned on, was turned off as well.

Your hotbuttons are good, but you won't need Hotbutton-1. You turn off all modes, and only have one turned on with everyone button without overlap.

The Conditions part I had assumed you were looking at only using abilities during a particular mode and limit the abilities used based on mode. IE using offensive stuff when in assist mode, use defensive stuff when in tank mode. Something like
DPS1=Taunt|99|Cond1
Cond1=${tankmode} || ${pullertank}

DPS2=command:/bandolier activate 2H|98|Cond2
Cond2=${assistmode}

Perhaps I've misunderstood what you are trying by creating these variables.
 
It is my fault for not being clear.

My end goal is to change what mode my kiss-assist characters are in.

1) Tank mode: I want my tank just to tank. I bring the mobs to him he tanks them when they are close to him.
2) Pullertank: I want my tank to pull, bring the mob back to camp and tank them.
3) Assist: He attacks what my assist hot buttons tell him to do.
 
Just to end this thread correctly. I gave up trying to do this.

I went over to CWTN Plugins and now, I have all the control that I ever wanted.
 
Oh. Yea, it's very easy, you would just need to /varset role <whateverroleyouwanted>. The way Kiss is run though its best to give it a quick reboot when you are changing roles.
 
Kissassist is not setup to change rolls on the fly. you would just have to restart the macro with the correct option.

/macro kissassist Tank
/macro kissassist PullerTank
/macro kissassist manual
 
Request - Use conditions to control tank mode with varset?

Users who are viewing this thread

Back
Top
Cart