Does a long trigger mess up?

T3rm1nat0r

New Member
Reaction score
23
Hi everybody, i have a question, the title explains what the question is.

What i mean is, say now i have a long trigger, will that trigger mess my map up?

thanx
 

Doom-Angel

Jass User (Just started using NewGen)
Reaction score
167
if you made an efficient use in the trigger then yes but not if you used things like creating 5 same unit without the use of a loop so as long as it doesn't leak and your trigger is used well and efficiently there is no problem in having a long trigger (except from the part where you need help with it and others need to read your huge trigger :p)
 

Cohadar

master of fugue
Reaction score
209
No.

What messes up maps is when trigger has too many operations

You can hit the operation limit only if you have loop with more than 8000 iterations or something.

EDIT: Btw if you use NewGen it will print warning message if you hit OP limit.
 

T3rm1nat0r

New Member
Reaction score
23
ok, thanx guys, +rep, what is OP?

just was asking coz one of my triggers are long, which the trigger is an ability :D
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
OP = Operation Limit

I got this problem when I was making a sorting algorithm. It only happened when I used a large loop inside a large loop.

In what way is your trigger long?
Does it have huge unit group loops?
Integer loops?

If none of the above is true, it's unlikely you will hit the operation limit.
 

T3rm1nat0r

New Member
Reaction score
23
My trigger mostly has Unit Group - Pick every unit in ...

thanx for letting me no what OP is :D
 
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