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

Leak question: "pick every item..."

Status
Not open for further replies.
Level 14
Joined
Aug 30, 2004
Messages
909
Would this trigger leak?

  • subMT Gold Loot
    • Events
    • Conditions
    • Actions
      • Item - Pick every item in (Playable map area) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Item-type of (Picked item)) Equal to Cache of Credits
              • (Custom value of (Picked item)) Equal to 0
            • Then - Actions
              • Set goldTempItem = (Picked item)
              • Set tempPoint2 = (Position of goldTempItem)
              • Player Group - Pick every player in Rebels and do (Actions)
                • Loop - Actions
                  • Set tempPlayerInteger = (Player number of (Picked player))
                  • Trigger - Run subMT Gold Loot Player Called <gen> (checking conditions)
              • Player Group - Pick every player in Imperials and do (Actions)
                • Loop - Actions
                  • Set tempPlayerInteger = (Player number of (Picked player))
                  • Trigger - Run subMT Gold Loot Player Called <gen> (checking conditions)
              • Custom script: call RemoveLocation(udg_tempPoint2)
            • Else - Actions
Also, I saw that LeakCheck is no longer recommended because it is out of date. I have a leak in my map, which is massive. I was hoping for something like it to test. Is there a new version anywhere?

Thanks
 
Status
Not open for further replies.
Top