Larian Banner: Baldur's Gate Patch 9
Previous Thread
Next Thread
Print Thread
Joined: Jul 2014
F
Feared Offline OP
journeyman
OP Offline
journeyman
F
Joined: Jul 2014
I am getting this error in my mod for some reason. Could anyone explain how to fix this?

This is what my script contains.

INIT
CHARACTER_Player1.isPlayer();
CHARACTER_Player2.isPlayer();

KB
IF
GameEventSet("GAMEEVENT_GameStarted")
AND
CharacterAddToCharacterCreation(CHARACTER_Player1,0,1)
AND
CharacterAddToCharacterCreation(CHARACTER_Player2,0,1)
THEN
DB_InCharacterCreation(1);
InitStory();
GoalCompleted;

Joined: Jul 2014
Location: York, UK
stranger
Offline
stranger
Joined: Jul 2014
Location: York, UK
You need to name your character Player1 (this is different from display name, you can do it from the npc list menu). You also need to regenerate definitions after you do this, before you build.

Joined: Jul 2014
F
Feared Offline OP
journeyman
OP Offline
journeyman
F
Joined: Jul 2014
Ah Thank you i totally overlooked that part.


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