OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gadjuka on 17 Dec 2005, 13:55:48

Title: ST_FRAME in a 3D-Dialog?
Post by: Gadjuka on 17 Dec 2005, 13:55:48
My question is:
How do I get a frame (controlsBackground[]) in 3d in a 3d-dialog. I just get it to appear behind the 3d-dialog in 2d! ???
I've worked quite a lot with dialogs, but not so much with 3d-dialogs...

EDIT:
They do exist...there is one if you go to 'Options->controls' - the one that says: Mouse sensitivity.
Title: Re:ST_FRAME in a 3D-Dialog?
Post by: Gadjuka on 19 Dec 2005, 10:56:29
Ok, I solved this myself.
The thing here is that you can't put a Frame as a background like in a 2d-dialog. You got to put it as an object in the 3d-dialog and then set the 'style' to ST_FRAME. It will also need both a 'h=XXXXX" AND a h2='XXXXX'