Does this trigger lag?

Shadow

TH.net Regular
Reaction score
23
Will this trigger cause the game to crash or lag if i have more actions like this for say 12 gates and if so how could I change it.

Trigger:
  • Set Gate Life
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • Set Gate1 = (Current life of Iron Gate (Vertical) 0856 <gen>)
 

PurgeandFire

zxcvmkgdfg
Reaction score
509
It shouldn't lag. For other actions, it depends on what the actions are. However, generally you won't experience lag when doing something every 1 second of game time. It usually has to be something very frequent, involving several actions (or leaking actions), to cause lag. In your case, you are fine. :)
 

Shadow

TH.net Regular
Reaction score
23
okay thanks, more used to jass but my friend wanted me to do a gate system with gui and theres no the whole issue with gates being opened meaning there actually dead through me so i thought if i did a trigger that checked the destructible health each second should do the trick.

Regardless thanks, + rep.
 

WolfieeifloW

WEHZ Helper
Reaction score
372
I would just make the system in JASS then, and put globals/variables at the top.
This still allows for easy changes, if your friend can at least read :p .
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top