I’m trying to script an NPC so it will deliver some text lines and then do further actions,
My idea was to give it a gossip and then use that to initiate the sequence,
- On First Gossip Open -> Close Gossip
- On First Gossip Open -> Make NPC Talk (Linked Event)
- On Linked Event -> Make NPC Talk (Linked Event)
- On Linked Event -> Make NPC Talk
This way the NPC Delivers multiple lines in a sequence, HOWEVER.
There is no method to allow for a delay between the lines being delivered, so the end result is that the NPC spews out everything at once.
My suggestion is to add a Delay Action, similar to Periodically but specify a time, and then link the event, so it will only begin the next event when the delay finishes.
Considering how the scripting is setup now, where,
Action -> Effect -> LinkedY/N
it may be better to just code a delay into the whole website, so instead have scripting occur as
Action -> Delay(Specify) -> Effect -> LinkedY/N
With Delay being 0 by default
I know nothing about WoW’s scripting code, but under current NPC scripts I cannot see a feasible method of making an NPC deliver NPC talk lines without some kind of delay, and no, Gossips are not the solution.