Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Oct 2014
Location: Hogwarts
member
OP Offline
member
Joined: Oct 2014
Location: Hogwarts
Anybody know how to trigger credits or end the game by forcing the player to return to the main menu? Nothing worked for me so far, but I tried:

IF
DialogEnded("FinalDialog")
THEN
GameEnd();

and

IF
DialogEnded("Conrad5")
THEN
ShowCredits(CHARACTER_Player1);


Joined: Jul 2014
R
addict
Offline
addict
R
Joined: Jul 2014
Try something like

Code
IF
DialogEnded("FinalDialog")
THEN
TimerLaunch("Credits", 4100);

IF
TimerFinished("Credits")
THEN
GameEnd();


I don't see why GameEnd() wouldn't work, since that's what the main game code uses when it wants to show the Credits.

Joined: Oct 2014
B
enthusiast
Offline
enthusiast
B
Joined: Oct 2014
Do you maybe need to make some sort of credits file, similar to the journal file?

Joined: Oct 2014
Location: Hogwarts
member
OP Offline
member
Joined: Oct 2014
Location: Hogwarts
Nothing happened when I used GameEnd()

I would assume the credit script would trigger some sort of movie file.


Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.5