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

[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