HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Multiboards & Cinematics...

03-27-2007, 10:07 AM#1
Blackroot
How do you get a multiboard to display during a cinematic? -All I want to know, lol.

Thank you :).
03-27-2007, 11:09 AM#2
Rising_Dusk
Try call MultiboardDisplay(mb, true).

Although to be honest, I don't think it makes sense for it to be possible.
In cinematic mode, you can't click, so you wouldn't be able to manipulate the multiboard anyways.
Doesn't make sense for Blizzard to have them visible during cinematics.

Try what I mentioned above, otherwise it probably isn't going to work.
Also, consider replacing cinematic mode with applying a black filter over the screen.
Might work if you desperately need to show the MB.
03-27-2007, 11:32 AM#3
RaveEye
Quote:
In cinematic mode, you can't click,

True and not true.

You can use dialog menus in a cinematic, but you cant select units or use trackables.
03-27-2007, 11:34 AM#4
Blackroot
The whole game operates on the multiboard in cinematic mode, it's desperate :P.

I'm using the FPS mod (Great mod) as a form of control, so cinematic mode isin't effecting my input :). I think it's more to do with cinematic mode than with how I display the multiboard.

Here's my multiboard display code anyways:

Collapse JASS:
  call MultiboardDisplay(MB, true)
  call MultiboardMinimize(MB, false)

It displays immediately upon exiting cinematic mode and it's also displayed before it, it's just not during :/.
03-27-2007, 11:38 AM#5
Rising_Dusk
Then apparently you'll have to not be in cinematic mode to display it.
Your code works anytime it's not in cinematic mode, but not when in it.

Quote:
In cinematic mode, you can't click,
see your cursor except in dialogues*

It still wouldn't work for a multiboard, but pardon my lack of description.
03-27-2007, 11:44 AM#6
Blackroot
Crud -
Collapse JASS:
 call ShowInterface(false, 1.00)

Still doesn't show the multiboard... Looks like it's time to hack the engine! *Gets out machine-saw* *Maniacle laughter*... Ah, wait... Maybe I'll do something logical first... *Crickets*

[edit]
I went diving for maps and I found one @ the Hosted Projects. Hero RPG uses a cinematic cover at all times and displays a multiboard. Dissasembling it's code as we speak, it's very complicated, though.
03-27-2007, 11:59 AM#7
RaveEye
Collapse JASS:
call EnableUserControl(false)

This script will allow you to show multiboards and the cursor in cinematic mode.
But the minus is that the camera isnt locked
03-27-2007, 12:06 PM#8
Blackroot
? It didin't show the multiboard with a value of either true or false. :/. (Yes, enabled after cinematic mode was tripped.)

Collapse JASS:
  call MultiboardSuppressDisplay(false)

Sounded good at first, didin't work though :/.
03-27-2007, 12:21 PM#9
RaveEye
Trigger 1.
Collapse JASS:
call CinematicModeBJ( true, GetPlayersAll() )
call EnableUserControl(true)

Trigger 2.
Collapse JASS:
call CreateMultiboardBJ( 2, 1, "Cinematic Multiboard Test" )
call MultiboardSetItemStyleBJ( GetLastCreatedMultiboard(), 1, 1, true, false )
call MultiboardSetItemStyleBJ( GetLastCreatedMultiboard(), 2, 1, false, true )
call MultiboardSetItemValueBJ( GetLastCreatedMultiboard(), 1, 1, "A" )
call MultiboardSetItemIconBJ( GetLastCreatedMultiboard(), 2, 1,"UI\\Feedback\\Resources\\ResourceGold.blp" )
call MultiboardDisplayBJ( true, GetLastCreatedMultiboard() )


First run Trigger 1. then after a second or so run Trigger 2.
It works
03-27-2007, 12:23 PM#10
Blackroot
Wahoo! If at first you don't succed, rob someone else's idea.

Turns out, if you do this:
Collapse JASS:
  call EnableUserControl(true)
  call MultiboardSuppressDisplay(false)
  call MultiboardDisplay(MB, true)
  call MultiboardMinimize(MB, false)
  call TriggerSleepAction(5.00)
  call EnableUserControl(false)

You can have your cake, eat it, and eat it again, too ;P. (If you go into cinematic mode AFTER creation, it will not display in cinematic mode, ever. You must create it in cinematic mode. Ah well, not like I ever leave cinematic mode :P.)

Thank you for the help :).