• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

how to make a Cinematic?

Status
Not open for further replies.
Level 6
Joined
Dec 24, 2012
Messages
187
  • EnterUnit
    • Events
      • Unit - A unit enters EnemyEndGame <gen>
    • Conditions
      • (Owner of (Triggering unit)) Equal to HostileCreeps
    • Actions
      • Unit - Remove (Triggering unit) from the game
      • Set LivesCount = (LivesCount - 1)
      • Leaderboard - Change the value for HostileCreeps in BoardDisplay to LivesCount
      • Game - Display to (All players) for 5.00 seconds the text: (|Cffff0000You lost a life! Lifes Remaining:|r|cff87ceeb + ((String(LivesCount)) + |r|Cffff0000.|r))
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LivesCount Equal to 0
        • Then - Actions
          • Wait 2.00 seconds
          • Player Group - Pick every player in GamePlayers and do (Actions)
            • Loop - Actions
              • Cinematic - Turn cinematic mode On for (All players)
              • Camera - Pan camera for (Picked player) to (Center of (Playable map area)) over 1.00 seconds
              • Camera - Apply T DEAD 1 <gen> for Player 1 (Red) over 1.00 seconds
              • Cinematic - Send transmission to (All players) from A Teenager Riding in a Rubber Ducky Large 0025 <gen> named Teanager: Play GoblinZeppelinPissed6 <gen> and display I hate this pool ! .... Modify duration: Add 2.00 seconds and Wait
              • Camera - Apply T DEAD 2 <gen> for Player 1 (Red) over 1.00 seconds
              • Cinematic - Send transmission to (All players) from A Teenager Riding in a Rubber Ducky Large 0025 <gen> named Teanager: Play GoblinZeppelinWhat3 <gen> and display Ahhhhhh!!!. Modify duration: Add 1.00 seconds and Wait
              • Wait 1.00 seconds
              • Unit - Kill A Teenager Riding in a Rubber Ducky Large 0025 <gen>
              • Wait 2.00 seconds
              • Camera - Apply People dead <gen> for (Picked player) over 1.00 seconds
              • Cinematic - Send transmission to (All players) from Blonde Girl 0016 <gen> named Teanager: Play GoblinZeppelinPissed6 <gen> and display Ahhhhh... Modify duration: Add 1.00 seconds and Wait
              • Wait 2.00 seconds
              • Unit - Kill Baby 0022 <gen>
              • Unit - Kill Blonde Girl 0017 <gen>
              • Unit - Kill Blonde Girl 0016 <gen>
              • Unit - Kill Blonde Girl 0018 <gen>
              • Camera - Apply People dead 2 <gen> for (Picked player) over 1.00 seconds
              • Cinematic - Send transmission to (All players) from Blonde Girl 0016 <gen> named Teanager: Play GoblinZeppelinPissed6 <gen> and display Ahhhhh... Modify duration: Add 1.00 seconds and Wait
              • Unit - Kill Mother 0012 <gen>
              • Unit - Kill Little Kid 0009 <gen>
              • Unit - Kill Father 0013 <gen>
              • Unit - Kill Life Guard 0024 <gen>
              • Wait 2.00 seconds
              • Camera - Apply People dead 3 <gen> for (Picked player) over 1.00 seconds
              • Cinematic - Send transmission to (All players) from Blonde Girl 0016 <gen> named Teanager: Play GoblinZeppelinPissed6 <gen> and display Ahhhhh... Modify duration: Add 1.00 seconds and Wait
              • Unit - Kill Beach Guy 0007 <gen>
              • Unit - Kill Bikini Girl 0000 <gen>
              • Cinematic - Turn cinematic mode Off for (All players)
              • Game - Defeat (Picked player) with the message: You Are Defeated! ...
        • Else - Actions
Guys, how to make Cinematic ? this trigger doesn't work.. why ?
 
Level 25
Joined
May 11, 2007
Messages
4,651
Your loop repeats all actions for ALL players every loop lap.
So if you have 10 players, you're going to Cinematic - Turn cinematic mode On for (All players) (10 times), Kill Baby0022 (10 times) Apply Camera T DEAD 1 for player 1 red 10 times..

Move all the actions out of the player group, and have a player group for each camera action instead.
  • Player Group - Pick every player in GamePlayers and do (Actions)
  • Camera - Apply People dead 2 <gen> for (Picked player) over 1.00 seconds
Also, turn the trigger off when LivesCount == 0.
 
Level 5
Joined
Jan 27, 2014
Messages
164
You cannot have waits within a player group (or unit group). It will break the loop.

A work around is:
Code:
Player Group - Pick every player in GamePlayers and do (Actions)
    Loop - Actions
        ...do something
Wait 2 seconds
Player Group - Pick every player in GamePlayers and do (Actions)
    Loop - Actions
        ...do something again
Wait 1 seconds
Player Group - Pick every player in GamePlayers and do (Actions)
    Loop - Actions
        ...and so on

Break the loops into smaller pieces and run em separately.
 
Level 30
Joined
Nov 29, 2012
Messages
6,637
  • Cinematic - Turn cinematic mode On for (All players)
You could have just changed the All Players to Picked players since you have picked them through the loop. Much better to use for me.

And this might contradict to my first statement but nevermind, you can just avoid using a Pick every player action that loops instead do all of the triggers without the Pick every player because I know you did Pick Every player so the cinematic and all of its part will show to all players but Cinematics and Transmissions can be run and shown by players by using All Players, right?

And then maybe just do the loop, pick every player when defeating the player that reaches 0 lives? Correct me if I am wrong though.
 
Status
Not open for further replies.
Top