| 09-17-2003, 09:29 PM | #1 |
Yes it is possable. Here is how (it will require a little jass, but not much) Using the GUI Custom Script, you can use my new cinematic function within the GUI and not need to use jass. first of all, insert this block of code into the map's header. When in the trigger editor, click on the map name on the upper left above all your triggers. That blank space is for custom functions, AKA the header file. Code:
// This function will take a player (p) and then turn on cinematic mode for this player function Dakan_CinOn takes player p returns nothing if (GetLocalPlayer() == p) then call ClearTextMessages() call ShowInterface(false, 1.5) call EnableUserControl(false) call EnableOcclusion(false) call FogMaskEnable(false) call FogEnable(false) call EnableWorldFogBoundary(false) endif endfunction // This function will take a player (p) and then turn off cinematic mode for this player function Dakan_CinOff takes player p returns nothing if (GetLocalPlayer() == p) then call ClearTextMessages() call ShowInterface(true, 1.5) call EnableUserControl(true) call EnableOcclusion(true) call FogMaskEnable(true) call FogEnable(true) call EnableWorldFogBoundary(true) endif endfunction Now to call these 2 functions, you need to use these lines: Code:
call Dakan_CinOn(ConvertedPlayer(1)) call Dakan_CinOff(ConvertedPlayer(1)) Where ConvertedPlayer(1) changes to the player# you want this to happen for. Enjoy. |
| 10-01-2003, 12:37 AM | #2 |
I don't get desync when I send some players into cinema but not others... Is this for RoC players? |
| 10-05-2003, 01:10 AM | #3 |
No it's for TFT. It just simulates the mode of cinematic function without actually doing it, because it desync's. It just does everything cinematic mode does. |
