[MessageBox] How to appear several textboxes

Discussions and questions about the CS and mods for Oblivion
Locked
Oblis
Initiate
Initiate
Posts: 38
Joined: Fri May 18, 2007 2:07 pm
ES Games: Daggerfall, Morrowind, Oblivion
Platform: PC
Location: Greece

[MessageBox] How to appear several textboxes

Post by Oblis »

Hello!
I want to make a countnous [MessageBox] dialogue.
As following example..

MESSAGEBOX1
(Continue)
MESSAGEBOX1
(Continue)
etc

I will pust a button [Continue] so the game show me the next MESSAGEBOX
But i dont know how to type it...
Can anyone help me?

Thanks
User avatar
Jakarius321
Champion
Champion
Posts: 802
Joined: Sat Oct 10, 2009 5:03 pm
ES Games: Oblivion GOTY
Platform: PC, PS3
Status: Does anyone actually read these?
Location: Can't remember

Re: [MessageBox] How to appear several textboxes

Post by Jakarius321 »

I can't help you personally but does this help at all?
*Potentially helpful article*
Is this meant to be witty, informative or deep? I doubt I can manage all three.
Oblis
Initiate
Initiate
Posts: 38
Joined: Fri May 18, 2007 2:07 pm
ES Games: Daggerfall, Morrowind, Oblivion
Platform: PC
Location: Greece

Re: [MessageBox] How to appear several textboxes

Post by Oblis »

Oh man i tried everything in with my spell.
When i cast a spell it must appear a dialogue list with options. It appears the menus but options dont work (dont appear the next textbox)
I coppied all these examples to my editor but they dont work at all!!!
User avatar
Jakarius321
Champion
Champion
Posts: 802
Joined: Sat Oct 10, 2009 5:03 pm
ES Games: Oblivion GOTY
Platform: PC, PS3
Status: Does anyone actually read these?
Location: Can't remember

Re: [MessageBox] How to appear several textboxes

Post by Jakarius321 »

Oblis wrote:Oh man i tried everything in with my spell.
When i cast a spell it must appear a dialogue list with options. It appears the menus but options dont work (dont appear the next textbox)
I coppied all these examples to my editor but they dont work at all!!!
Well then I'm afraid I can't help you, I'm sure someone more knowledgeable than me will be along soon enough though so no worries.

Sorry for not being any help whatsoever! :P
I hope you get it sorted though. I know how frustrating modding can get, and I've only gone as far as interiors and basic re-texturing!
Is this meant to be witty, informative or deep? I doubt I can manage all three.
Oblis
Initiate
Initiate
Posts: 38
Joined: Fri May 18, 2007 2:07 pm
ES Games: Daggerfall, Morrowind, Oblivion
Platform: PC
Location: Greece

Re: [MessageBox] How to appear several textboxes

Post by Oblis »

I used the following example script i found on net, on casting a spell
When i cast the spell, i get the choices, but when i select one of them i get nothing back.
If i change the ScriptEffectFinish to onactivate and run the same code from a chest it works fine!
Really i cant find a solution.

ScriptName RiddleChestScript

Short controlvar
Short button

Begin ScriptEffectFinish
If ( controlvar == 0 )
MessageBox "Voiceless it cries, wingless flutters, toothless bites, mouthles mutters. What is it?", "Bat", "Old woman", "Wind", "Wraith"
Set controlvar to 1
ElseIf ( controlvar > 1 )
Activate
EndIf
End

Begin GameMode
If ( controlvar == 1 )
Set button to GetButtonPressed
If ( button == -1 )
Return
ElseIf ( button == 2)
MessageBox "Your answer was correct."
Activate
Set controlvar to 2
Else
MessageBox "Your answer was wrong."
Set controlvar to -1
EndIf
EndIf
End
Locked