Decision System help!

Lord

TH.net Regular
Ello all!

I need some help in making my 'decision system'. Basically it's a choose what you wanna do thingy. I used dialogs to show you your choices, but I dunno why when I make the second (lets call them 'decision tables') decision table the first one becomes buggy (can't see the choices, when I choose one nothing happens...).

I've tried everything. Putting this...:
Code:
Actions
    Dialog - Clear Decision1text
    Dialog - Change the title of Decision1text to Choose!
    Dialog - Create a dialog button for Decision1text labelled X1
    Set Decision1button[1] = (Last created dialog Button)
    Dialog - Create a dialog button for Decision1text labelled X2
    Set Decision1button[2] = (Last created dialog Button)
    Dialog - Create a dialog button for Decision1text labelled X3
    Set Decision1button[3] = (Last created dialog Button)
...into a new trig., then into a cinematic trig.'s front, but nothing.:mad: :nuts:

Help me solve the problem please.
 

Lord

TH.net Regular
Of course I did. Without that I could not even make the first one :D.

*EDIT*

Tho I think it's something with the variables. I need 4 variables to create 2 tables. :p
 
S

Sunny_D

Guest
well, the trigger above is working properly, you should post the rest of the trigger as well... but what do you mean with tables? you mean a button or a whole dialog?
 

Lord

TH.net Regular
table ---> whole dialog

Lets start :)
These are cinematic triggers so I won't post all of them. :eek: (would be too long)

First I make the dialogs like this:
Code:
Actions
    Dialog - Clear Decision1text
    Dialog - Change the title of Decision1text to Choose!
    Dialog - Create a dialog button for Decision1text labelled X1
    Set Decision1button[1] = (Last created dialog Button)
    Dialog - Create a dialog button for Decision1text labelled X2
    Set Decision1button[2] = (Last created dialog Button)
    Dialog - Create a dialog button for Decision1text labelled X3
    Set Decision1button[3] = (Last created dialog Button)

(Creating the dialog)
Then, when the time comes, I'll use this trigger:
Code:
Dialog - Show Decision1text for Player 1 (Red)

(Showing the dialog)
Then comes a new trig. with an event and condition like this:
Code:
Cd13
    Events
        Dialog - A dialog button is clicked for Decision1text
    Conditions
        (Clicked dialog button) Equal to Decision1button[1]

(Player clicked the first button, first cinematic starts)

It's working properly, but...

I make another dialog:
Code:
Actions
    Dialog - Clear Decision2text
    Dialog - Change the title of Decision2text to Choose!
    Dialog - Create a dialog button for Decision2text labelled Wait For Brad
    Set Decision1button[1] = (Last created dialog Button)
    Dialog - Create a dialog button for Decision2text labelled Engage Zatro'matog
    Set Decision1button[2] = (Last created dialog Button)

(Creating the second dialog)
Then showing it:
Code:
Dialog - Show Decision2text for Player 1 (Red)

(Showing the dialog)
And the cinematic event:
Code:
Cd13
    Events
        Dialog - A dialog button is clicked for Decision2text
    Conditions
        (Clicked dialog button) Equal to Decision2button[1]

(The first cinematic starts)
...after I made the second one, the first goes mad in game.
 
S

Sunny_D

Guest
think i got it ^^

Code:
Actions
    Dialog - Clear Decision2text
    Dialog - Change the title of Decision2text to Choose!
    Dialog - Create a dialog button for Decision2text labelled Wait For Brad
    Set Decision[COLOR="Red"][B]1[/B][/COLOR]button[1] = (Last created dialog Button)
    Dialog - Create a dialog button for Decision2text labelled Engage Zatro'matog
    Set Decision[B][COLOR="Red"]1[/COLOR][/B]button[2] = (Last created dialog Button)

(Creating the second dialog)
1 should be replaced with 2 ;)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    it is all percolating man
  • The Helper The Helper:
    TheHelper.net #1!
  • Wizard Wizard:
    #1
  • The Helper The Helper:
    LOL I love this place
  • Wizard Wizard:
    ;D
  • Wizard Wizard:
    We all do.
  • O Old Mountain Shadow:
    So what is next for thehelper.net? Is there a new set goals yet?
  • The Helper The Helper:
    yes we are going to be expanding
    +1
  • The Helper The Helper:
    help more people
  • The Helper The Helper:
    thank you for asking Old Mountain Shadow hell ya@
  • The Helper The Helper:
    Look at Mountain Shadow in the chat!
  • The Helper The Helper:
    welcome to thehelper.net
  • O Old Mountain Shadow:
    thanks although I'm really kind of regretting this name lol ... is there a way to change it out or will I need to make a new account?
    +1
  • Wizard Wizard:
    One of us can change it for you, I believe. Just send me a PM on what you want.
  • Ghan Ghan:
    Some day we should get the feature where you can change your own name.
  • Wizard Wizard:
    Soon!
  • The Helper The Helper:
    did the mountain shadow get his name changed? personally I think Old Mountain Shadow is a kickass name
  • The Helper The Helper:
    but what do i know lol
  • Wizard Wizard:
    No they haven't had their name changed, it is badass xD
    +1
  • O Old Mountain Shadow:
    Thanks, lol! I haven't quite come up with a good new one yet. I was gonna default to one of my older usernames: Cha Zui = tea drunk in Chinese but then decided it too didn't quite fit right. I'm not asian lol... But I am tall, and old spirited which is sort of where the Old Mountain Shadow came about.
  • O Old Mountain Shadow:
    Either way I appreciate the willingness to help me change it! Should I discover something better I'll swap it, but for now ill stay with what I got.
  • The Helper The Helper:
    If you want a change like they said earlier just let us know
    +1
  • Ghan Ghan:
    Patched and rebooted the server this morning.
  • Ghan Ghan:
  • The Helper The Helper:
    dam pwnkit what a name probably perfectly describes it

    Members online

    Affiliates

    Hive Workshop NUON Dome
    Top