Articulate Vlish Devotion Posted December 20, 2009 Share Posted December 20, 2009 I'm kind of new to scripting BOA but have read the guides and still am having trouble with how to have multiple characters have their own dialogue (the third guy doesn't talk much just says "OK.", also can someone help me in how to script opening doors when you talk to a certain person? Here's the code if you need it...(just a basic mod.) Click to reveal.. begintalkscript; variables; begintalknode 1; state = -1; nextstate = 1; question = "Janitor"; text1 = "You meet the Janitor of these Barracks. _What do you want, friend?_"; begintalknode 2; state = 1; nextstate = 2; question = "Where am I supposed to go?"; text1 = "_What I heard was that you were to meet up with the General at the Training Camp_"; begintalknode 3; state = 2; nextstate = -1; question = "Where is the Training Camp?"; text1 = "_It is not to far from here, just a little to the North_"; begintalknode 4; state = 1; nextstate = 3; question = "What do you do here?"; text1 = "_I clean and organize things here_"; begintalknode 5; state = 3; nextstate = -1; question = "Do you have a hard time?"; text1 = "_Mostly no, but It can get frustrating at times_"; begintalknode 6; state = -1; nextstate = 4; question = "Chef"; text1 = "You meet the Chef of the Barracks. _As you see I am quite busy right now, but anyways...what can I do for you?_"; begintalknode 7; state = 4; nextstate = -1; question = "Can I buy some food?"; text1 = "You conclude your business"; code = begin_shop_mode("Chef's Wares","Food carefully prepared at a slightly high price.",5,3,-1); break; begintalknode 8; state = -1; nextstate = 5; question = "Official"; text1 = "You meet the Official of the Barracks. _Hello, how may I help you?_"; begintalknode 9; state = 5 ; nextstate = 6; question = "Can I pass through the door?"; text1 = "He checks you out on his check-out paper and then asks the guards to unlock the door. _Ok now you may pass_"; Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.