I dont get what you mean by pass a string through it, if you could give an example using r1$, r2$, etc. That'd be nice. kevin8084, I put all variables global but it still didn't work, here's my current code:
AppTitle "SW:WRH Conversation creator"
Global filename$=""
Global launcher$=""
Global funcname$=""
Global npc1$=""
Global r1$=""
Global r2$=""
Global r3$=""
Global npc2$=""
Global quit=0
Graphics3D 1280,1024,32,2
SetBuffer BackBuffer()
Function check(quit)
If (funcname$="quit") Or (npc1$="quit") Or (r1$="quit") Or (r2="quit") Or (r3="quit") Then quit=1
End Function
While quit=0
RenderWorld
;createconv
launcher$=Input$("WELCOME TO THE SW:WRH CONVERSATION CREATOR. FOLLOW GIVEN INSTRUCTIONS. TYPE 'quit' AT ANY TIME TO QUIT WITHOUT SAVING YOUR CONVERSATION. HIT ENTER TO CONTINUE")
filename$=Input$("What should the filename of this conversation be?")
funcname$=Input$("What would you like the Function name For this conversation To be? ")
check(1)
npc1$=Input$("What would the first thing the NPC says be? ")
Text 1000,15,"npc1= " + npc1
check(1)
r1$=Input$("What do you want response1 to be? ")
Text 1000, 30,"r1= " + r1
check(1)
r2$=Input$("What do you want response2 to be? ")
Text 1000, 45,"r2= " + r2
check(1)
r3$=Input$("What do you want response3 to be? ")
Text 1000, 60,"r3= " + r3
check(1)
Flip
Wend
End
AppTitle "SW:WRH Conversation creator"
Global filename$=""
Global launcher$=""
Global funcname$=""
Global npc1$=""
Global r1$=""
Global r2$=""
Global r3$=""
Global npc2$=""
Global quit=0
Graphics3D 1280,1024,32,2
SetBuffer BackBuffer()
Function check(quit)
If (funcname$="quit") Or (npc1$="quit") Or (r1$="quit") Or (r2="quit") Or (r3="quit") Then quit=1
End Function
While quit=0
RenderWorld
;createconv
launcher$=Input$("WELCOME TO THE SW:WRH CONVERSATION CREATOR. FOLLOW GIVEN INSTRUCTIONS. TYPE 'quit' AT ANY TIME TO QUIT WITHOUT SAVING YOUR CONVERSATION. HIT ENTER TO CONTINUE")
filename$=Input$("What should the filename of this conversation be?")
funcname$=Input$("What would you like the Function name For this conversation To be? ")
check(1)
npc1$=Input$("What would the first thing the NPC says be? ")
Text 1000,15,"npc1= " + npc1
check(1)
r1$=Input$("What do you want response1 to be? ")
Text 1000, 30,"r1= " + r1
check(1)
r2$=Input$("What do you want response2 to be? ")
Text 1000, 45,"r2= " + r2
check(1)
r3$=Input$("What do you want response3 to be? ")
Text 1000, 60,"r3= " + r3
check(1)
Flip
Wend
End