So I managed to make a fairly nice intro cinematic. No problems there. But now I'm trying to show it for all players. I thought I could just use "all players" but it turns out cameras require a specific player input. So I created a player group, assigned player numbers and iterated over the cinematic script. However, it just flat out doesn't play. It does absolutely nothing. What's wrong here? Should I do a Player Group here?
Of course, this DOES NOT work on multiplayer. The second player doesn't see the cinematic at all.
-
Events
-
Time - Elapsed game time is 0.50 seconds
-
-
Actions
-
Unit Group - Pick every unit in (Units in START <gen> matching (((Matching unit) is A Hero) Equal to True)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Owner of (Picked unit)) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet PlayerNumber = (Player number of (Owner of (Picked unit)))
-
Set VariableSet mPlayer[PlayerNumber] = (Owner of mHero[PlayerNumber])
-
-------- Introduction Cinematic --------
-
Cinematic - Turn cinematic mode On for (All players matching ((Owner of (Picked unit)) Equal to mPlayer[PlayerNumber]).)
-
Sound - Clear the music list
-
Sound - Stop music Immediately
-
Sound - Set Ambient Sounds to 0.00%
-
Sound - Set Animation and Spell Sounds to 0.00%
-
Sound - Set Combat Sounds to 0.00%
-
Sound - Set Fire Sounds to 0.00%
-
Sound - Play radiant_dawn_intro <gen>
-
Camera - Set mPlayer[PlayerNumber]'s camera Angle of attack to 330.00 over 0.00 seconds
-
Camera - Set mPlayer[PlayerNumber]'s camera Distance to target to 7000.00 over 0.00 seconds
-
Camera - Pan camera for mPlayer[PlayerNumber] to (Center of ClockTower <gen>) with height 7000.00 above the terrain over 0.00 seconds
-
Wait 1.00 seconds
-
Camera - Set mPlayer[PlayerNumber]'s camera Distance to target to 800.00 over 11.00 seconds
-
Camera - Pan camera for mPlayer[PlayerNumber] to (Center of Amberfall <gen>) with height 800.00 above the terrain over 11.00 seconds
-
Wait 13.00 seconds
-
Camera - Pan camera for mPlayer[PlayerNumber] to (Center of Guard Thomas <gen>) with height 600.00 above the terrain over 11.00 seconds
-
Wait 13.00 seconds
-
Camera - Set mPlayer[PlayerNumber]'s camera Distance to target to 300.00 over 10.00 seconds
-
Camera - Pan camera for mPlayer[PlayerNumber] to (Center of StartingLocCamera <gen>) with height 300.00 above the terrain over 12.00 seconds
-
Wait 15.00 seconds
-
Cinematic - Turn cinematic mode Off for (All players matching ((Owner of (Picked unit)) Equal to mPlayer[PlayerNumber]).)
-
Wait 0.01 seconds
-
-
Else - Actions
-
-
-
-
Trigger - Run CameraInitialization2 <gen> (ignoring conditions)
-
-
Actions
-
Set VariableSet PlayerNumber = 0
-
For each (Integer A) from 1 to 12, do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Player((Integer A))) slot status) Equal to Is playing
-
-
Then - Actions
-
Set VariableSet PlayerNumber = (Integer A)
-
-------- Introduction Cinematic --------
-
Cinematic - Turn cinematic mode On for (Player group((Player((Integer A)))))
-
Sound - Clear the music list
-
Sound - Stop music Immediately
-
Sound - Set Ambient Sounds to 0.00%
-
Sound - Set Animation and Spell Sounds to 0.00%
-
Sound - Set Combat Sounds to 0.00%
-
Sound - Set Fire Sounds to 0.00%
-
Sound - Play radiant_dawn_intro <gen>
-
Camera - Set (Player((Integer A)))'s camera Angle of attack to 330.00 over 0.00 seconds
-
Camera - Set (Player((Integer A)))'s camera Distance to target to 7000.00 over 0.00 seconds
-
Camera - Pan camera for (Player((Integer A))) to (Center of ClockTower <gen>) with height 7000.00 above the terrain over 0.00 seconds
-
Wait 1.00 seconds
-
Camera - Set (Player((Integer A)))'s camera Distance to target to 800.00 over 11.00 seconds
-
Camera - Pan camera for (Player((Integer A))) to (Center of Amberfall <gen>) with height 800.00 above the terrain over 11.00 seconds
-
Wait 13.00 seconds
-
Camera - Pan camera for (Player((Integer A))) to (Center of Guard Thomas <gen>) with height 600.00 above the terrain over 11.00 seconds
-
Wait 13.00 seconds
-
Camera - Set (Player((Integer A)))'s camera Distance to target to 400.00 over 10.00 seconds
-
Camera - Pan camera for (Player((Integer A))) to (Center of StartingLocCamera <gen>) with height 300.00 above the terrain over 12.00 seconds
-
Wait 15.00 seconds
-
Cinematic - Turn cinematic mode Off for (All players)
-
Wait 0.01 seconds
-
-
Else - Actions
-
-
-
-
Trigger - Run CameraInitialization2 <gen> (ignoring conditions)
-
Of course, this DOES NOT work on multiplayer. The second player doesn't see the cinematic at all.
Last edited: