• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Question - checking for pulling routine

aspire2008

Well-known member
Is there a TLO in KA that I can check if its in the pulling routine/state?

What I want to do is create a holyshit to switch bandolier to shield or even activate abilities if I'm currently pulling, then switch back to duel wield once in camp (so i guess i need 2 holys?, one to check for in camp and one for pulling). Not even sure how to write the syntax.


holyshit1= if macro.running[KA] && me.pullingstate /bandolier shield

holyshit2= if macro.running[KA] && incamp && !$me.pullingstate /bandolier duelwield
 
Suppose you could just check to see if ${Navigation.Active} or for ${Group.Member[1].Distance3D} > someValue

${Macro.Name.Equal[Kissassist.mac]} is what you were looking for on that one. However, for any macro specific variables in a holy/down it's likely to cause some issues. The Macro.Name wouldn't be an issue.

/if (${Macro.Name.Equal[Kissassist.mac]} && ${Navigation.Active}) /dosomethings
 
Kiss can pull with nav, advpath, or just moveutils.
Also in some cases uses nav for normal movement.
${Pulling} is the variable Kiss uses while actually running up to a mob then switches to ${Pulled} when agro is established.
 
Try
Rich (BB code):
${Pulling}



Is there a TLO for at camp, I suppose I could just do !${Pulling}

- - - Updated - - -

Kiss can pull with nav, advpath, or just moveutils.
Also in some cases uses nav for normal movement.
${Pulling} is the variable Kiss uses while actually running up to a mob then switches to ${Pulled} when agro is established.



Hmm so I need it include both ${Pulling} and {Pulled} then for pull state.


Does this look right?

Rich (BB code):
holyshit1=/if (${Macro.Name.Equal[Kissassist.mac]} && (${Pulling} || ${Pulled})) /multiline ; /delay 1 ; /bandolier shield 
holyshit2=/if (${Macro.Name.Equal[Kissassist.mac]} && (!${Pulling} || !${Pulled})) /multiline ; /delay 1 ; /bandolier duelwield
 
try && instead of ||
Rich (BB code):
holyshit2=/if (${Macro.Name.Equal[Kissassist.mac]} && (!${Pulling} && !${Pulled})) /multiline ; /delay 1 ; /bandolier duelwield
 
try && instead of ||
Rich (BB code):
holyshit2=/if (${Macro.Name.Equal[Kissassist.mac]} && (!${Pulling} && !${Pulled})) /multiline ; /delay 1 ; /bandolier duelwield



Hmm not sure I understand why it would be AND vs OR there, since both wouldn't be active at same time would they? If ${Pulling} is to go out to get a mob and ${Pulled} is returning to camp after mob is aggro'd, are both states active at same time? Wouldn't you want OR if one is active and the other isn't?


Blah, I see you were referring to the 2nd holy, the one when you are in camp, yah I see why you have AND in that one, I'm a retard.

- - - Updated - - -

Still need to test it out, but this will be awesome for mobs that mezz you too, going to create a holy for that as well, so i can use the beneficial dot potion to dot myself while pulling in certain zones where mobs mez.:dance:
 
Question - checking for pulling routine

Users who are viewing this thread

Back
Top
Cart