Pocket Plane Group

BG2 Completed Mods => Assassinations => Topic started by: DrAzTiK on March 15, 2019, 06:03:19 AM

Title: Lord Melyin does not appearing
Post by: DrAzTiK on March 15, 2019, 06:03:19 AM
Can you tell me what time Lord Melyin is suposed to appear . I play on  BG2EE 2.5 with assassinations V12

he should appears at southwest of waukeen promenade but he is never here.

AR0700 :


IF
   Global("O#CrLynnQuestSpawn1","GLOBAL",1)
THEN
   RESPONSE #100
      CreateCreatureEffect("O#CrMel","",[64.3808],S)  // Lord Melyin
      CreateCreatureEffect("O#CrGua1","",[36.3786],S)  // Garde du corps de Lord Melyin
      CreateCreatureEffect("O#CrGua2","",[90.3774],S)  // Garde du corps de Lord Melyin
      SetGlobal("O#CrLynnQuestSpawn1","GLOBAL",2)
END


IF
   Global("O#CrLynnQuestSpawn1","GLOBAL",2)
   !TimeOfDay(NIGHT)
   !Time(DUSK_START)
   !Time(DUSK_END)
   !Time(23)
THEN
   RESPONSE #100
      ActionOverride("O#CrMel",DestroySelf())
      ActionOverride("O#CrGua1",DestroySelf())
      ActionOverride("O#CrGua2",DestroySelf())
      SetGlobal("O#CrLynnQuestSpawn1","GLOBAL",0)
END

Title: Re: Lord Melyin does not appearing
Post by: jastey on March 16, 2019, 01:55:33 PM
You need to ask the inn keeper during the hours "21" to "23" about him, but then he should be there for the whole night.

The whole incident is a bit player unfriendly, because the inn-keeper has to be asked during specific hours, and Melyin will not spawn later if it was too early in the day nor will he remain for another day if the inn-keeper was not asked first because he is supposed to answer "he just left".
I need to ponder about this a little as how to make this more player-friendly. I already tried but only considered half of the problem.
Title: Re: Lord Melyin does not appearing
Post by: jastey on March 24, 2019, 01:51:34 PM
In the next version, if Kulyok agrees, the inn keeper Pugney will have to be asked about the Lord once. After that, if it wasn't the right time then, Pugney will initiate dialogue and tell the PC by himself about Lord Melyin's whereabouts if the time has come. This uses only existing lines so no translation needed.