Today I took a look at dialogs using Vektorboson's tutorial. And Ive run into a problem so I have a few questions.
a)What actions are valid for use with the CT_Button (action = ""
b)More of a general scripting problem this, how do I create (if/then) statements in OFP scripting?
Basically what I want to do is:
If listbox "cars" is selected then .etc.
else if listbox "motorcycle" is selected then .etc.
I want this to happen after the button "buy" is pressed. Will I need to run a script for this, or is it doable within the dialog its self?
c) I want the text of a CT_Static to change depending on the currently selected list box item.
Ok I hope Ive made myself clear. Any help appreciated,
thanks
p.s If this was VB Id have it done twice by now