OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: bardosy on 29 Aug 2006, 08:42:36
-
I made a cutscene in an UAV mission.
But the player use the UAV and see a monitor with target cross and parameter numbers, menus etc... (I think, this is a dialog). And when my cutscene start, the dialog is still drowing and the cutscene playing IN this "monitor". How can I clear it befor the cutscene start?
I tried the cutRSC ["default","PLAIN"], but it does not work.
-
closeDialog 0
-
Thanks!
Can I use this, if there is no dialog?
Because the player can use this UAV or not when cutscene start....
-
This command can be used any time, but only works if a dialogue is open. It closes the dialogue. If you want UAV to close at start of each cutscene.. just put closeDialog 0 at the top of the script
-
You might also have to open the description.ext and see what the dialog's ID number is. For example, this is how you can close Kegety's spec script prior to an ending cutscene for an MP mission.
-
Thanks everybody!
I must insert a little wait (~0.5) between closeDialog 0 and camCreate... I don't know why, but it's work. Without delay, the dialog closed and cutscene started, but after a second the cutscene ended...
But now it does work! Thanks again!