Home   Help Search Login Register  

Author Topic: How can I diable a dialog, when cutscene start?  (Read 1103 times)

0 Members and 2 Guests are viewing this topic.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
How can I diable a dialog, when cutscene start?
« 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.
Fix bayonet!

Offline Dinger

  • Contributing Member
  • **
  • where's the ultra-theoretical mega-scripting forum
Re: How can I diable a dialog, when cutscene start?
« Reply #1 on: 29 Aug 2006, 14:43:29 »
 closeDialog 0
Dinger/Cfit

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: How can I diable a dialog, when cutscene start?
« Reply #2 on: 29 Aug 2006, 15:19:40 »
Thanks!

Can I use this, if there is no dialog?

Because the player can use this UAV or not when cutscene start....
Fix bayonet!

Offline JasonO

  • OFPEC Patron
  • ****
  • Oh no...
    • The New Life RPG
Re: How can I diable a dialog, when cutscene start?
« Reply #3 on: 29 Aug 2006, 16:35:45 »
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

Offline Mr.Peanut

  • Former Staff
  • ****
  • urp!
Re: How can I diable a dialog, when cutscene start?
« Reply #4 on: 30 Aug 2006, 02:25:22 »
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.
urp!

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: How can I diable a dialog, when cutscene start?
« Reply #5 on: 30 Aug 2006, 08:23:36 »
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!
Fix bayonet!