Author Topic: Needed changes for BG:EE  (Read 415 times)

Offline jastey

  • Global Moderator
  • Planewalker
  • *****
  • Posts: 1506
  • Gender: Female
Needed changes for BG:EE
« on: May 05, 2023, 10:46:08 AM »
The changes to Ivanne in chapter 7 need to be adapted for BG:EE.
This is what bg1ub is currently doing:
Code: [Select]
//IVANNE, AR0114 - tells player his story, refers to Iron Throne and Eltan. (J)
ADD_TRANS_ACTION %tutu_var%IVANNE
BEGIN 5 END
BEGIN 0 END
~SetGlobal("TalkedToIvanne","GLOBAL",1)~ //told his story

REPLACE_STATE_TRIGGER %tutu_var%IVANNE 0 ~Global("TalkedToIvanne","GLOBAL",0)~ //won't tell his story twice

ADD_TRANS_TRIGGER %tutu_var%IVANNE 5
~!Dead("Cythan")
!Dead("Rashad")~
DO 0

EXTEND_BOTTOM %tutu_var%IVANNE 5
IF ~Dead("Cythan") !Dead("Rashad")~ THEN JOURNAL @1 DO ~SetGlobal("TalkedToIvanne","GLOBAL",1)~ EXIT
IF ~!Dead("Cythan") Dead("Rashad")~ THEN JOURNAL @2 DO ~SetGlobal("TalkedToIvanne","GLOBAL",1)~ EXIT
IF ~Dead("Cythan") Dead("Rashad")~ THEN JOURNAL @3 DO ~SetGlobal("TalkedToIvanne","GLOBAL",1)~ EXIT
END

This is what it should be doing:
Code: [Select]
//IVANNE, AR0114 - tells player his story, refers to Iron Throne and Eltan.

ADD_TRANS_TRIGGER %tutu_var%IVANNE 5
~!Dead("Cythan")
!Dead("Rashad")~
DO 0

EXTEND_BOTTOM %tutu_var%IVANNE 5
IF ~Dead("Cythan") !Dead("Rashad")~ THEN DO ~SetGlobal("IvanneStoryTold","GLOBAL",1)
EraseJournalEntry(27178)
EraseJournalEntry(27177)
~ SOLVED_JOURNAL @1 EXIT
IF ~!Dead("Cythan") Dead("Rashad")~ THEN DO ~SetGlobal("IvanneStoryTold","GLOBAL",1)
EraseJournalEntry(27178)
EraseJournalEntry(27177)
~ SOLVED_JOURNAL @2 EXIT
IF ~Dead("Cythan") Dead("Rashad")~ THEN DO ~SetGlobal("IvanneStoryTold","GLOBAL",1)
EraseJournalEntry(27178)
EraseJournalEntry(27177)
~ SOLVED_JOURNAL @3 EXIT
END

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: