• 🏆 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] Multi-Rings

Status
Not open for further replies.
Level 17
Joined
Jun 17, 2010
Messages
2,275
  • Hero Pick
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Set AntiLeak_Point = (Center of boat <gen>)
      • Unit - Create 1 Ship for Neutral Passive at AntiLeak_Point facing Default building facing degrees
      • Set AntiLeak_Point = (Center of rez point1 <gen>)
      • Unit - Order (Last created unit) to Move To AntiLeak_Point
      • For each (Integer privloop) from 1 to (Number of players in (All players matching (((Matching player) slot status) Equal to Is playing))), do (Actions)
        • Loop - Actions
          • Set AntiLeak_Point = ((Player(privloop)) start location)
          • Unit - Create 1 Circle of Power for (Player(privloop)) at AntiLeak_Point facing (Random angle) degrees
      • Custom script: call RemoveLocation(udg_AntiLeak_Point)
      • Custom script: call DestroyTrigger(GetTriggeringTrigger())
This keeps creating 9 rings, when im testing it by my self.
 
Level 37
Joined
Mar 6, 2006
Messages
9,240
  • Player Group - Pick every player in (All players) and do (Actions)
    • Loop - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Picked player) controller) Equal to User
          • ((Picked player) slot status) Equal to Is playing
        • Then - Actions
          • -------- set point --------
          • -------- create COP --------
          • -------- remove point --------
        • Else - Actions
 
Status
Not open for further replies.
Top