Home
Intel Depot
Editors Depot
Missions Depot
Addons Depot
Forum
Home
Help
Search
Login
Register
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Dialogs
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: Dialogs (Read 459 times)
0 Members and 2 Guests are viewing this topic.
bigcheese
Guest
Dialogs
«
on:
22 Jan 2004, 22:24:10 »
How would you detect if a dialog is open or not, in this situation?
Dlg = createdialog "nukeposdialog"
and the close buttons action = "closedialog 0"
Thanks in advance ...
Logged
alimag
Contributing Member
I'm a llama!
Re:Dialogs
«
Reply #1 on:
22 Jan 2004, 23:17:12 »
Dlg = createdialog "nukeposdialog"
? !Dlg : hint "Error creating dialog" ; exit
You can also use the function 'dialog'. It will return true if a dialog is open (false if not).
If you want to wait until the dialog is close:
@ !dialog
Cheers
Logged
bigcheese
Guest
Re:Dialogs
«
Reply #2 on:
22 Jan 2004, 23:30:49 »
cheers alimag
ill give that a go
Logged
Igor Drukov
Contributing Member
Conscientious Subjector
Re:Dialogs
«
Reply #3 on:
23 Jan 2004, 16:18:08 »
Hey !
CtrlVisible
is also very often used.
Just in case,
Ig.
«
Last Edit: 23 Jan 2004, 16:19:18 by Igor Drukov
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
OFPEC Forum
»
Editors Depot - Mission Editing and Scripting
»
OFP - Editing/Scripting General
(Moderators:
h-
,
savedbygrace
,
Gruntage
) »
Dialogs
Top of page