• 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] Can I shorten this trigger somehow? Help is apprechiated

Status
Not open for further replies.
Level 28
Joined
Mar 25, 2008
Messages
2,955
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • 'IF'-Conditions
      • (Player 1 (Red) slot status) Equal to Is playing
    • 'THEN'-Actions
      • Set temppunkt01[0] = (Center of Rot spawn <gen>)
      • Set wppunkt01[0] = (Center of Rot wp11 <gen>)
      • Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Sichtbarkeit across Rot <gen>
      • Unit - Create 1 Testcreep for Player 5 (Yellow) at temppunkt01[0] facing default building degrees
      • Camera - Lock camera target for Player 1 (Red) to (Last created unit), offset by (0.00, 0.00) using *no translation available*
      • Unit - Order (Last created unit) to Move to temppunkt01[0]
      • Custom script: call RemoveLocation(udg_temppunkt01[0])
      • Custom script: call RemoveLocation(udg_wppunkt01[0])
    • 'ELSE'-Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • 'IF'-Conditions
      • (Player 2 (Red) slot status) Equal to Is playing
    • 'THEN'-Actions
      • Set temppunkt01[0] = (Center of Blue spawn <gen>)
      • Set wppunkt01[0] = (Center of Blue wp11 <gen>)
      • Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Sichtbarkeit across Rot <gen>
      • Unit - Create 1 Testcreep for Player 5 (Yellow) at temppunkt01[0] facing default building degrees
      • Camera - Lock camera target for Player 2 (Blue) to (Last created unit), offset by (0.00, 0.00) using *no translation available*
      • Unit - Order (Last created unit) to Move to temppunkt01[0]
      • Custom script: call RemoveLocation(udg_temppunkt01[0])
      • Custom script: call RemoveLocation(udg_wppunkt01[0])
    • 'ELSE'-Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • 'IF'-Conditions
      • (Player 3 (Teal) slot status) Equal to Is playing
    • 'THEN'-Actions
      • Set temppunkt01[0] = (Center of Teal spawn <gen>)
      • Set wppunkt01[0] = (Center of Teal wp11 <gen>)
      • Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Sichtbarkeit across Rot <gen>
      • Unit - Create 1 Testcreep for Player 5 (Yellow) at temppunkt01[0] facing default building degrees
      • Camera - Lock camera target for Player 3 (Teal) to (Last created unit), offset by (0.00, 0.00) using *no translation available*
      • Unit - Order (Last created unit) to Move to temppunkt01[0]
      • Custom script: call RemoveLocation(udg_temppunkt01[0])
      • Custom script: call RemoveLocation(udg_wppunkt01[0])
    • 'ELSE'-Actions
  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • 'IF'-Conditions
      • (Player 4 (Purple) slot status) Equal to Is playing
    • 'THEN'-Actions
      • Set temppunkt01[0] = (Center of Purple spawn <gen>)
      • Set wppunkt01[0] = (Center of Purple wp11 <gen>)
      • Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Sichtbarkeit across Rot <gen>
      • Unit - Create 1 Testcreep for Player 5 (Yellow) at temppunkt01[0] facing default building degrees
      • Camera - Lock camera target for Player 4 (Purple) to (Last created unit), offset by (0.00, 0.00) using *no translation available*
      • Unit - Order (Last created unit) to Move to temppunkt01[0]
      • Custom script: call RemoveLocation(udg_temppunkt01[0])
      • Custom script: call RemoveLocation(udg_wppunkt01[0])
    • 'ELSE'-Actions
So, can I?
If yes, how?

Rewards: 2 rep + a dishwasher
 
Status
Not open for further replies.
Top