• 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

Question - Lua event help for griklor raid

Overtimer

Seasoned veteran member
Joined
May 8, 2021
RedCents
748¢
I need to convert this to Lua. Can anyone smarter than me help?

/if (${Spawn[=${EventArg1}].ID}==${Me.ID})


I am trying to write Lua event for Griklor chase part.

Thanks.




This is the answer:

For this event, Griklor only names and does not target you.
Also, he only names you on one of the emotes.

When he points at you, that is the only time you can get a name from him. This gave me headaches because I thought my code was not working.

This is the code for my question above, for those learning Lua.

----------------------------------------------------------------------
Use name if you want to know what name he picked.

local function event_handler(line, name)
if name == mq.TLO.Me.CleanName() then
-----------------------------------------------------------------------
Use target if you want to know what target he picked.

local function event_handler(line, target)
if target == mq.TLO.Me.CleanTarget() then
----------------------------------------------------------------------
 
Last edited:
Updated the files, hoping they are closer to the final, will test them tonight if we raid.

Post# 37.
 
Updated the files, more lean lest clutter. Fixed some commands. Post# 37. This might be the final unless someone here finds something.

We beat Griklor last night, but very few players had my LEM events. I think it helped.

I saw weird behaviors with some other teams with my LEM. I would see two players run out, and they both did a say that they were chasing him.
Thought chase was on that group, but they both ran out, paused, and unpaused, no clue how that is possible. I cannot duplicate that with a group mission.

The whistle command did not work, I redid some of the code, not sure if I am getting the right format for pets commands for Lua.

The run to AE worked perfectly, but I think it is not needed. We burned through the AE and were not losing toons.

This was a fun experience for me, I learned a lot. Thank you all that helped, looking forward to more fun.
 
Last edited:
Question - Lua event help for griklor raid

Users who are viewing this thread

Back
Top
Cart