Scriping Quest right way?

Hey I wonder if someone could explain to me in details how it should work the quest of events type that must fully run for all players.

My question exactly is as follows:

example: quest http://www.wowhead.com/quest=29414/the-way-of-the-tushui

https://www.youtube.com/watch?v=d8z85KWsjUk

If 2 separate players take the quest let say 30 s apart then the 1 player go to the cave and the event start , so when the 2 player get to the cave what should happen?:

Option 1 -The 2 player is phased to a separate phase so that each player is in a different phase.

Option 2 -The 2 player see the 1 player and hes event dont start until the 1 player event finish?

finally this is my dilemma i need to know how is the right way for this type of quest to work.

Thanks in advance to anyone who can help me.

22 view and no one has ideas??

I realy want to scrip this type of quest right, plz help me out.

I was looking for something very similar other than the “linked list” questid in the database. We really need a nice tutorial page or pages on quest development among many things, otherwise, we waste tons of time reinventing the wheel manually scraping the data out ourselves trying to understand code conditions relating to database data. Lots of man hours wasted there. The wiki on database fields looks to be fairly outdated, I’m sorry to say, atm.

So new record 80 view and no one has ideas??

It’s like some of the devs have said- they do this in their free time and mostly just work on what is interesting for them.

Writing documentation to help newcomers isn’t all that interesting or exciting. The entire SmartAI system needs a write-up but with the number of different ways quests can work it’s near impossible to accomplish.