Conversation Wizard Problem (VBS)

This forum is meant for requesting technical support or reporting bugs.

Moderators: time-killer-games, Vengeance66, Candle, reneuend, GM-Support

Conversation Wizard Problem (VBS)

Postby Glottis91 » Thu Nov 06, 2008 12:51 pm

I made a conversation with the conversation wizard. And I want to have different answers to one question. This is the VBS Code I executed after the question has been asked:

if waechter_ueberzeugt=0 then
Action.Message "Message 1"
else
Action.Message "Message 2"
Action.QuitDialogue
Action.GoToFrame "Gulli"
End if

It doesnt matter wether waechter_ueberzeugt (global variable) is 0 or 1, the messages are not displayed. He changed to the Frame "Gulli", but the dialogue isnt quit as well. The script does not return any error.

If there is any option to make questions in the dialogue (un)visible with VBS-Code it would be much easier, but I didnt find anything about that.

Please help me.
Glottis91
Junior Member
 
Posts: 8
Joined: Wed Oct 29, 2008 8:50 pm

Postby Lyberodoggy » Thu Nov 06, 2008 2:23 pm

I don't think you could do that... Just go to the frame that leads you to the dialogue and place this code:
Code: Select all
if waechter_ueberzeugt=0 then
Action.gotoframe "dialogue1"
else
Action.gotoframe "dialogue2"
end if

then duplicate the dialogue1 frame (the original frame with the convo), rename it and create a second convo there with the option that should exist on waechter_ueberzeugt<>0
User avatar
Lyberodoggy
Administrator
 
Posts: 2526
Joined: Sat Feb 17, 2007 3:31 pm
Location: Athens

Postby mercedes » Thu Nov 06, 2008 11:12 pm

Hi there...:)

yes i find the dialogue wizard kinda hard to work with..which is why i prefer dialogue in vbs format..If that doesn't work with what Lyberodoggy suggests..[which im sure it probably will]..you can always try the vbs format..:)


I also read somewhere you can create questions that are answers and answers that are questions...might be useful to look into.

I hope i understood this right..lol..

Peace
User avatar
mercedes
VIP
 
Posts: 2460
Joined: Sun Mar 09, 2008 10:43 pm
Location: Canada..~


Return to Adventure Maker Technical Support and Bug Reports

Who is online

Users browsing this forum: No registered users and 0 guests