Bug or Problem?

DuelPlayer

Member
Reaction score
21
I tried many methods to try to remove units of unused computers and empty slots. But all didnt work. Below is just an example. It did not work. So I hope anyone can find me a good working method! :D +rep if it works


Trigger:
  • 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
          • Or - Any (Conditions) are true
            • Conditions
              • ((Picked player) slot status) Not equal to Is unused
              • ((Picked player) slot status) Not equal to Has left the game
        • Then - Actions
          • Player - Set (Picked player) Current gold to 5000
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (Picked player) Not equal to Player 6 (Orange)
            • Then - Actions
              • Unit Group - Pick every unit in (Units in Player_Total_Region[(Player number of (Picked player))]) and do (Actions)
                • Loop - Actions
                  • Unit - Add a 0.01 second Generic expiration timer to (Picked unit)
            • Else - Actions
 

ZiggyMcjoney

Data editor?! AAAHHHHH!
Reaction score
95
Rather than using the conditions you're using, I'd use:

"(Picked player) slot status Not equal to Is playing"

That's the one I always use, and it always works, so yeah :p

Also, just use "Remove (Picked unit)" rather than giving it an expiration timer of 0.01 seconds.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top