HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Dialog Button help

07-26-2003, 07:15 AM#1
LeprechaunNinja
OK, let's say I make a dialog. With buttons. Then I want to test to see if a dialog button has been clicked. I only have two options! Either (last dialog button clicked) or a variable. Saying that the player clicked the last dialog button clicked is retarded, but the variable works... only one problem. There is no action to put a dialog buttton variable into a dialog! So there is therefor no way to make custom dialog menus, is there?
07-26-2003, 07:20 AM#2
Pesmerga
Use a interger array and do this -

Action - Create dialog button
Action - Set (last created dialog button to DIALOG[1])
Action - Create dialog button
Action - Set (last created dialog button to DIALOG[2])
Action - Create dialog button
Action - Set (last created dialog button to DIALOG[3])
07-26-2003, 07:31 AM#3
LeprechaunNinja
You, good sir, are a genius.
07-26-2003, 07:38 AM#4
Pesmerga
Eh..just spend too much damn time on the editor.
07-26-2003, 07:40 AM#5
LeprechaunNinja
No, wait, I can't find the Set Dialog Button command. Is that only in TFT? I'm using RoC
07-26-2003, 07:59 AM#6
Earth-Fury
its a variable. set variable, make the variable a dialog biutton array.
07-26-2003, 08:05 AM#7
LeprechaunNinja
Ah, OK, like this?

Dialog - Create a dialog button for Dialog labelled Retreat
Set DialogButton[0] = (Last created dialog Button)


So I was doing it backwards. I was trying to make a variable become a dialog button, not put the value of an already existing dialog button into a variable.

Thanks for all the help! :D