[Trigger] Turning on a cinematic for 1 player.

Level 7
Joined
Dec 8, 2008
Messages
243
Trying to get it so the cinematic will only be seen by the triggering player. I'd rather find an alternative rather than repeating the code for every player that could trigger the cinematic.

  • Quest 0 Prologue Part 1
    • Events
      • Unit - A unit enters Wizard start of game <gen>
    • Conditions
    • Actions
      • Trigger - Turn off (This trigger)
      • Special Effect - Destroy QUEST0_Special_Effect
      • Quest - Display to (All players) the Quest Discovered message: The towns under att...
      • Quest - Create a Required quest titled Protect Borealis! with the description Help the town guard..., using icon path ReplaceableTextures\CommandButtons\BTNAmbush.blp
      • Wait 0.01 seconds
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Owner of (Triggering unit)) Equal to Player 1 (Red)
        • Then - Actions
          • Cinematic - Turn subtitle display override On
          • Cinematic - Disable user control for (All players matching ((Owner of (Triggering unit)) Equal to (Owner of (Triggering unit))))
          • Cinematic - Clear the screen of text messages for Player Group - Player 1 (Red)
          • Cinematic - Turn cinematic mode On for (All players matching ((Owner of (Entering unit)) Equal to Player 1 (Red)))
          • Unit - Pause (Triggering unit)
          • -------- next --------
          • Unit - Make (Triggering unit) face Weak Warlock 0041 <gen> over 0.25 seconds
          • Camera - Apply Camera 004 <gen> for Player 1 (Red) over 0.00 seconds
          • Cinematic - Send transmission to Player Group - Player 1 (Red) from Weak Warlock 0041 <gen> named Weak Warlock:: Play No sound and display The town is under a.... Modify duration: Add 5.00 seconds and Don't wait
          • Wait 5.00 seconds
          • -------- next --------
          • Camera - Reset camera for Player 1 (Red) to standard game-view over 0.00 seconds
          • Cinematic - Enable user control for Player Group - Player 1 (Red)
          • Cinematic - Turn cinematic mode Off for Player Group - Player 1 (Red)
          • Cinematic - Turn subtitle display override Off
          • Unit - Unpause (Triggering unit)
        • Else - Actions
 
Level 9
Joined
Nov 4, 2007
Messages
931
When your using All Players matching function, you need to have one of the paths equal to Matching Player, in your first one you just have it Owner of triggering unit = to Owner of triggering unit, one should be Matching Player, apply to all instances where you did this.
 
Level 7
Joined
Dec 8, 2008
Messages
243
Unfortunetly my friends who I'm supposed to test the game with are all being dickweeds at the moment, so... I wont be able to test this for some time, but thanks, Darkness. :)

And on that note; time to download some The Darkness.
 
Top