• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] No idea what this would be called

Status
Not open for further replies.
Level 3
Joined
May 12, 2012
Messages
59
So im needing to make a new trigger and i dont even know where to start on it, everything blows up (metaphorically) in my face from the get go so some advice would be awesome.

im trying to set it up so that for every user controlled player it creates a structure at one of 9 given points, one for each playing unit, now it doesnt seem like it would be that hard but ive tried each intiger a do actions but i botched that instantly

a generic "hey this works for making units like your wanting" would be great as i dont even have a place to start for me to work this thing. i have no triggers to post to show where im making my mistake because starting it is my mistake
 
Level 3
Joined
May 12, 2012
Messages
59
better then what hideous thing i had
  • Starting Area
    • Events
      • Map initialization
    • Conditions
    • Actions
      • -------- This blows as a trigger i know, i hate it too --------
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 1 (Red) slot status) Equal to Is playing
          • (Player 1 (Red) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 1 (Red) at (Center of Player1 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 1 (Red) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 2 (Blue) slot status) Equal to Is playing
          • (Player 2 (Blue) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 2 (Blue) at (Center of Player2 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 2 (Blue) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 3 (Teal) slot status) Equal to Is playing
          • (Player 3 (Teal) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 3 (Teal) at (Center of Player3 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 3 (Teal) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 4 (Purple) slot status) Equal to Is playing
          • (Player 4 (Purple) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 4 (Purple) at (Center of Player4 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 4 (Purple) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 5 (Yellow) slot status) Equal to Is playing
          • (Player 5 (Yellow) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 5 (Yellow) at (Center of Player5 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 5 (Yellow) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 6 (Orange) slot status) Equal to Is playing
          • (Player 6 (Orange) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 6 (Orange) at (Center of Player6 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 6 (Orange) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 7 (Green) slot status) Equal to Is playing
          • (Player 7 (Green) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 7 (Green) at (Center of Player7 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 7 (Green) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 8 (Pink) slot status) Equal to Is playing
          • (Player 8 (Pink) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 8 (Pink) at (Center of Player8 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 8 (Pink) with the message: Bot
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Player 9 (Gray) slot status) Equal to Is playing
          • (Player 9 (Gray) controller) Equal to User
        • Then - Actions
          • Unit - Create 1 Selector-Bot 9000 for Player 9 (Gray) at (Center of Player9 selector <gen>) facing Default building facing degrees
        • Else - Actions
          • Game - Defeat Player 9 (Gray) with the message: Bot
 
Status
Not open for further replies.
Top