• 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] 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,243
  • 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