OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bedges on 31 Jul 2005, 20:09:36

Title: extra characters in dialog text....
Post by: bedges on 31 Jul 2005, 20:09:36
how do i get at them, if there are any? whenever i stick in a character from the character map, all that appears is a '?'...

also, a related question - is there a way of reacting to the [return] key within a dialog? or is it all down to the poor wee click buttons and active text?
Title: Re:extra characters in dialog text....
Post by: Spinor on 01 Aug 2005, 16:16:58
No idea about the first, but regarding the second question:
You can react to the return key by putting
default = true;
in a control class entry. It is probably only useful when doing this with a button or an active text control. This makes the control to be selected by default and when you do return (e.g. from within an edit text box) that control is activated.
Title: Re:extra characters in dialog text....
Post by: bedges on 08 Aug 2005, 11:25:43
excellent. thanks for the info - problem solved.  :)