• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[Trigger] one big trigger or many small ones?

Status
Not open for further replies.

Bsycho

B

Bsycho

i have a trigger which growed quite big.

if i copy as text and paste it in ms word using default font, it fills 37 pages.
it takes around 3-4 seconds to show the trigger once i click on it in the WE (got 2gHz and 1gb ram).

so my questions:
if it takes that long to activate it in WE, does it influence the performance or map load time in WC3?
if yes, would it help to split it into many small triggers?

thx in advance
bsycho
 
WE load any trigger in GUI too slow because it need coloring and sending to special GUI memo box. When you save this map, it compiles to text and will not laggy in the game (if you trigger do not have many memory leaks, or loops by 1 to 100000).

Note: dont use this trigger for event same as "time - every 0.10 seconds". Use once one time in 5-10 seconds or more.

I answer for your question?

So. if you want to cut this trigger to many little triggers, use triggers without events and "run trigger ignoring conditions" command.

Before:
Trigger:
command block 1
command block 2
command block 3

After:
Trigger1:
command block 1
run trigger2 ignoring conditions
Trigger2:
command block 2
run trigger3 ignoring conditions
Trigger3:
command block 3
 
thanks, that was all i wanted to know =)

but imo u never should run trigger ignoring conditions, just dont add any. so if u want to do this later (add a cond.) u may get confused why it doesnt work properly.
 
Status
Not open for further replies.
Back
Top