Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Page 2 of 2 1 2
Joined: Oct 2014
Location: Hogwarts
member
OP Offline
member
Joined: Oct 2014
Location: Hogwarts
I've tried making new characters with global dialog and they don't work either.

Joined: Oct 2014
Location: Hogwarts
member
OP Offline
member
Joined: Oct 2014
Location: Hogwarts
I created a new mod and new level and made a global character that worked without any problems.

When I generate definitions and build using the StoryEditor in my main module I receive two errors:
[Linked Image]
I used to be able to double click the errors to see where they were occurring in the code but that no longer works. Could this have something to do with the issue?

Joined: Oct 2014
B
enthusiast
Offline
enthusiast
B
Joined: Oct 2014
Yep, that event trigger could be causing the issue.

You probably have two triggers in your mod called EventTrigger_000, it happens sometimes, it's happened to me. Go to your trigger list and track down the culprit and rename it if that's the case.

The second Error is probably related to the first, see if it goes away when you fix the first one.

Joined: Oct 2014
Location: Hogwarts
member
OP Offline
member
Joined: Oct 2014
Location: Hogwarts
Wow, that was the problem. How can a teleportation trigger name mess up my global dialog like that?

The second error was the _ in the dialog teleport script you posted in the other thread. I actually thought the ""_ looked weird at first but somehow it connected to the navigator, so I'm not sure how to fix the error.
IF
GlobalEventSet("SetSail")
THEN
CharacterTeleportPartyToTrigger(CHARACTER_Player1, TRIGGER_Grove,""_);

Do I attach the ACTION SetFlag("FlagName",1) script to the players dialog response or the NPC's? Or does it matter?

Joined: Oct 2014
Location: Hogwarts
member
OP Offline
member
Joined: Oct 2014
Location: Hogwarts
Bump. Still struggling with this script for some reason. I think I have the ACTION SetFlag("SetSail",1) script in the right spot, but I'm getting syntax error: "_" unexpected with the SetSail script below:

IF
GlobalEventSet("SetSail")
THEN
CharacterTeleportPartyToTrigger(CHARACTER_Player1, TRIGGER_Grove,""_);

I'm not sure what (STRING)_Event it's looking for at the end there.

Joined: Oct 2014
B
enthusiast
Offline
enthusiast
B
Joined: Oct 2014
Originally Posted by JecklynHyde
Bump. Still struggling with this script for some reason. I think I have the ACTION SetFlag("SetSail",1) script in the right spot, but I'm getting syntax error: "_" unexpected with the SetSail script below:

IF
GlobalEventSet("SetSail")
THEN
CharacterTeleportPartyToTrigger(CHARACTER_Player1, TRIGGER_Grove,""_);

I'm not sure what (STRING)_Event it's looking for at the end there.


Take the underscore out.

Also, you're teleporting the whole party so you can't specify a player.

CharacterTeleportPartyToTrigger(TRIGGER_Grove,"")

Last edited by Burgee; 08/12/14 07:40 PM.
Page 2 of 2 1 2

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