Will this Lagg/Leak

Hot

New Member
Reaction score
9
The Perodic Event itself shouldent create any lagg at all right, but can the Loop create lagg? because its over 3000 tress in my map. And when i pick Destructible will it cause a leak?

Trigger:
  • Multiboard Wood Update
    • Events
      • Time - Every 0.50 seconds of game time
    • Conditions
    • Actions
      • Set WoodInMap = 0
      • Destructible - Pick every destructible in (Playable map area) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • (((Matching destructible) is alive) Equal to True) and ((Destructible-type of (Picked destructible)) Equal to Summer Tree Wall)
            • Then - Actions
              • Set WoodInMap = (WoodInMap + 1)
            • Else - Actions
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
as far as i know playable map area is not leaking because it is kind of a global variable preplaced by the editor.

it shouldnt lagg as far as you havent got a huge number of destructibles (no matter which type) say about 20.000 or so.
 

Komaqtion

You can change this now in User CP.
Reaction score
469
NO !!!

Dom't listen to Keeper77 ! If you destroy (Playable map area) you'll screw up the whole game !
No, thta trigger doesn't leak anything ;)

But I'd say use 1 second as the event ;)
 

Komaqtion

You can change this now in User CP.
Reaction score
469
It's ok ;)

And, as cryowraith said, it should be (Picked destructible) here:
Code:
(([COLOR="Red"](Matching destructible)[/COLOR] is alive) Equal to True) and ((Destructible-type of (Picked destructible)) Equal to Summer Tree Wall)
 
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