Page 1 of 1
Problem with conversations
Posted: Fri Oct 14, 2005 10:27 am
by LHoesch
Hi,
I have a problem with a conversation.When I stand before a pawn and start the conversation,the game shutdown.
The Logfile look like this:
Preparing to Launch Game...
Conversation Script Error for Pawn1 in Order Hello
CGenesisEngine::BeginFrame failed
Posted: Sat Oct 15, 2005 10:01 pm
by Nout
As the log says, you have an error in the script file you are using to define the conversation. Correct the error, and your conversation will most likely work fine.
Typical errors:
- you use a not existing bitmap
- you forget to add quotes around the bitmap name
- you forget to define the bitmap extension
- you forget a semicolumn
etc...
Best post the script (just copy paste), so we can try to help you find the bug
Posted: Sat Oct 22, 2005 4:14 pm
by Guest
Its made with TreeBuilder.
{
Hello[ ()
{
Speak("P-Hello","");
Reply(1,"R-Hello");
Reply(2,"T-Goodbye");
switch(Conversation(50))
{
case 1
{
NewConversation("Second",true);
}
case 2
{
NewConversation("",false);
}
}
} ]
Second[ ()
{
Speak("P-Nice","");
Reply(1,"T-Goodbye");
switch(Conversation(50))
{
case 1
{
NewConversation("Hello",false);
}
}
} ]
}
Posted: Mon Oct 24, 2005 1:22 pm
by Jay
Do you have a [conversation] block in the pawn.ini?
Posted: Mon Oct 24, 2005 4:17 pm
by LHoesch
Yes,I have!
Posted: Mon Oct 24, 2005 5:53 pm
by Nout
Try this
{
Hello[ ()
{
Speak("P-Hello","");
Reply(1,"R-Hello");
Reply(2,"T-Goodbye");
switch(Conversation(50))
{
case 1
{
NewConversation("Second",true);
}
case 2
{
NewConversation("Hello",false);
}
}
} ]
Second[ ()
{
Speak("P-Nice","");
Reply(1,"T-Goodbye");
Conversation(50);
NewConversation("Hello",false);
} ]
}
Posted: Tue Oct 25, 2005 4:38 pm
by Guest
Very thanks!!!!
But is functionated just a time before.
THANKS!!!!!