Another Kind of Quest Update

Discussions on development of both the EQ2Emulator LUA Script Engine and Script specifications

Moderator: Team Members

Post Reply
User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Another Kind of Quest Update

Post by Scatman » Fri Jan 09, 2009 10:20 pm

I ran into a quest in which there isn't really a good way to update the quest. I can think of a way but it would be kind of ugly to do it like that. The quest involves right-clicking a fire pit and burning a note. Once the spell (burning the note) is done being cast, the step is updated.

The way I was thinking of doing it as of right now would be to do an AddStepLocation and give a bogus x, y, z like 0, -99999, 0 so the player could never get there. Then the step could only be updated via SetStepComplete() by clicking on the object and casting the spell.

I was basically asking if there is support for updating steps by clicking commands maybe? Or something of the sort?

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: Another Kind of Quest Update

Post by John Adams » Fri Jan 09, 2009 10:46 pm

You're right, that is ugly. :D

LethalEncounter
Team: Zombie
Posts: 2717
Joined: Wed Jul 25, 2007 10:10 pm

Re: Another Kind of Quest Update

Post by LethalEncounter » Sat Jan 10, 2009 7:20 am

I would rather add a different quest step type then force you guys to do a workaround to get it to work properly. So you just need a step that updates whenever the player casts a certain spell?

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: Another Kind of Quest Update

Post by Scatman » Sat Jan 10, 2009 9:38 am

Yes, that would be perfect. Because there is another quest where you need to mine something but you do not actually receive any ore. If possible, it would need to work like kill and itemobtain updates where you may need multiple dings to update the step.

Thanks LE.

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests