• 🏆 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!

What is wrong here?

Status
Not open for further replies.
Level 5
Joined
Oct 9, 2008
Messages
134
What is wron in this trigger:

  • Villagers kills
    • Events
      • Unit - A unit enters Region 012 <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Spartan Captain
      • (Unit-type of (Entering unit)) Equal to Spartan Crosbowmen
      • (Unit-type of (Entering unit)) Equal to King Leonidas
      • (Unit-type of (Entering unit)) Equal to Spartan Soilders
    • Actions
      • Unit Group - Pick every unit in (Units in Region 016 <gen>) and do (Unit - Kill (Triggering unit))
      • Trigger - Turn off (This trigger)
and this:

  • Worried village
    • Events
      • Unit - A unit enters Vilager principal <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Spartan Captain
      • (Unit-type of (Entering unit)) Equal to Spartan Crosbowmen
      • (Unit-type of (Entering unit)) Equal to King Leonidas
      • (Unit-type of (Entering unit)) Equal to Spartan Soilders
    • Actions
      • Unit - Pause all units
      • Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Vilager principal <gen>) over 1.00 seconds
      • Cinematic - Turn cinematic mode On for (All players)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Villager <gen> for (Picked player) over 0.00 seconds
          • Camera - Lock camera target for (Picked player) to Worried Campesine (Male 2) 0474 <gen>, offset by (0.00, 0.00) using Default rotation
      • Cinematic - Send transmission to (All players) from Worried Campesine (Male 2) 0474 <gen> named A Worried Village: Play No sound and display you are the guy who.... Modify duration: Subtract 0.00 seconds and Wait
      • Wait 5.00 game-time seconds
      • Cinematic - Send transmission to (All players) from King Leonidas 0015 <gen> named Spartan King Leonid...: Play No sound and display Thanks for you help.... Modify duration: Subtract 2.00 seconds and Wait
      • Wait 3.00 game-time seconds
      • Cinematic - Turn cinematic mode Off for (All players)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Camera 012 <gen> for (Picked player) over 0.00 seconds
      • Destructible - Pick every destructible in Region 015 <gen> and do (Actions)
        • Loop - Actions
          • Destructible - Open Iron Gate (Diagonal 1) 0140 <gen>
      • Trigger - Turn off (This trigger)
      • Unit - Unpause all units
 
Level 5
Joined
Oct 9, 2008
Messages
134
so, this is correct now?:

  • Worried village
    • Events
      • Unit - A unit enters Vilager principal <gen>
    • Conditions
      • (Unit-type of (Entering unit)) Equal to Spartan Captain
      • (Unit-type of (Entering unit)) Equal to Spartan Crosbowmen
      • (Unit-type of (Entering unit)) Equal to King Leonidas
      • (Unit-type of (Entering unit)) Equal to Spartan Soilders
    • Actions
      • Unit - Pause all units
      • Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Vilager principal <gen>) over 1.00 seconds
      • Cinematic - Turn cinematic mode On for (All players)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Villager <gen> for (Picked player) over 0.00 seconds
          • Camera - Lock camera target for (Picked player) to Worried Campesine (Male 2) 0474 <gen>, offset by (0.00, 0.00) using Default rotation
      • Cinematic - Send transmission to (All players) from Worried Campesine (Male 2) 0474 <gen> named A Worried Village: Play No sound and display you are the guy who.... Modify duration: Subtract 0.00 seconds and Wait
      • Wait 5.00 game-time seconds
      • Cinematic - Send transmission to (All players) from King Leonidas 0015 <gen> named Spartan King Leonid...: Play No sound and display Thanks for you help.... Modify duration: Subtract 2.00 seconds and Wait
      • Wait 3.00 game-time seconds
      • Cinematic - Turn cinematic mode Off for (All players)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Camera 012 <gen> for (Picked player) over 0.00 seconds
      • Destructible - Open Iron Gate (Diagonal 1) 0140 <gen>
      • Trigger - Turn off (This trigger)
      • Unit - Unpause all units
i destroy the first because.. dont need do that in really, no reason.. ^^

so whit that modification, now they will work?
 
Level 5
Joined
Oct 9, 2008
Messages
134
like this?

  • Worried village
    • Events
      • Unit - A unit enters Vilager principal <gen>
    • Conditions
      • Or - Any (Conditions) are true
        • Conditions
          • (Unit-type of (Entering unit)) Equal to Spartan Soilders
          • (Unit-type of (Entering unit)) Equal to King Leonidas
          • (Unit-type of (Entering unit)) Equal to Spartan Crosbowmen
          • (Unit-type of (Entering unit)) Equal to Spartan Captain
    • Actions
      • Unit - Pause all units
      • Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Vilager principal <gen>) over 1.00 seconds
      • Cinematic - Turn cinematic mode On for (All players)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Villager <gen> for (Picked player) over 0.00 seconds
          • Camera - Lock camera target for (Picked player) to Worried Campesine (Male 2) 0474 <gen>, offset by (0.00, 0.00) using Default rotation
      • Cinematic - Send transmission to (All players) from Worried Campesine (Male 2) 0474 <gen> named A Worried Village: Play No sound and display you are the guy who.... Modify duration: Subtract 0.00 seconds and Wait
      • Wait 5.00 game-time seconds
      • Cinematic - Send transmission to (All players) from King Leonidas 0015 <gen> named Spartan King Leonid...: Play No sound and display Thanks for you help.... Modify duration: Subtract 2.00 seconds and Wait
      • Wait 3.00 game-time seconds
      • Cinematic - Turn cinematic mode Off for (All players)
      • Player Group - Pick every player in (All players) and do (Actions)
        • Loop - Actions
          • Camera - Apply Camera 012 <gen> for (Picked player) over 0.00 seconds
      • Destructible - Open Iron Gate (Diagonal 1) 0140 <gen>
      • Trigger - Turn off (This trigger)
      • Unit - Unpause all units
 
Status
Not open for further replies.
Top