OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Silencer on 11 Feb 2005, 14:37:33

Title: DIALOG question!
Post by: Silencer on 11 Feb 2005, 14:37:33
Hi all,

I have made a dialog.
I want a script to continue to the next part of the script, when pressing a button.

The button idc = 116

How can I do this??

I now have this:
idc = 116
@(Keypad_Num == idc) : goto "NEXTPART"

Thanks
Title: Re:DIALOG question!
Post by: Silencer on 11 Feb 2005, 16:21:40
NVM, I got it working now!
Title: Re:DIALOG question!
Post by: XCess on 11 Feb 2005, 17:34:12
*cough*solvebutton*cough*
Title: Re:DIALOG question!
Post by: Silencer on 11 Feb 2005, 19:30:26
I also have another question.

I have a variable text in idc 118:
But how can i say in a hint what that text is?

_Text = CtrlText 118
Hint Format ["%1",_Text]

This above, does not work.
Then I won't get a hint at all!
So it does read it, but it does not return the text!

Can anyone help me ??