Basically, you get the choice of killing an npc or letting her live early in my quest mod.
This affects two different endings.
Here's some of the code I used:
(The AND Global events are activated when you make your decision)
IF
MovieFinished("TACredits.bik")
THEN
ProcEnding();
// First ending
PROC
ProcEnding()
AND
GlobalEventSet("EndingLive")
THEN
MoviePlay(CHARACTER_Player1,"1yearlater.bik");
CharacterMakePlayer(CHARACTER_illitisPlayer);
GlobalSetEvent("DisableParty1");
// Second ending
PROC
ProcEnding()
AND
GlobalEventSet("Endingdead")
THEN
MoviePlay(CHARACTER_Player1,"10years.bik");
CharacterMakePlayer(CHARACTER_Elie1);
GlobalSetEvent("DisableParty2");
My problem is this error:
'Global event set': DIV event allowed only as a first condition of a rule
Any suggestions how I can get this working?