Decision System help!

Lord

TH.net Regular
Reaction score
18
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.
 

Sooda

Diversity enchants
Reaction score
318

Lord

TH.net Regular
Reaction score
18
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
Reaction score
18
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 Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top