HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Possible Un-needed Triggers?

12-29-2002, 04:23 AM#1
Crash+Burn
My map has been giving people tons of lag (A new Hero Siege Map). I think its because when i started the map, I didn't have so much experience with triggers and how maps work, and I added a bunch of triggers that make units that get stuck get "unstuck".

Event: Unit Enters Region (multiple numbers of regions i placed in my map)

Conditon: Triggering Unit is Equal to Player 12 Brown = True

Action: Order Triggering Unit to Attack-Move to center of region

I made multiple regions in my map, and added them to the event part of this one trigger and soon i had about 20 regions in there that sets it off, which i think would create a lot of lag.

First of all, would this actually work to make the units attack? Does it even work when the units are in the region, or just when they enter the region?

The second part of this is i added a trigger that basically makes a unit owned by player 12 brown attack-move when it is attacked.

Event: Unit owned by player 12 brown is attacked.

Condition: Unit is in region (path) -- i created big regions for each path.

Action: Order Triggering Unit to Attack-Move to center of (region)

Does this work? I think it does, and if it does, would it create lag? Are there better alternate ways to do this?

Please post if you have answers or opinions if you think they are worthless triggers. Also maybe any triggers that create lots of lag that I could have in my map.
12-29-2002, 06:05 AM#2
dataangel
Quote:
Originally posted by Crash+Burn
First of all, would this actually work to make the units attack? Does it even work when the units are in the region, or just when they enter the region?

Just when they enter it.

Quote:
The second part of this is i added a trigger that basically makes a unit owned by player 12 brown attack-move when it is attacked.

Event: Unit owned by player 12 brown is attacked.

Condition: Unit is in region (path) -- i created big regions for each path.

Action: Order Triggering Unit to Attack-Move to center of (region)

Does this work? I think it does, and if it does, would it create lag? Are there better alternate ways to do this?

I don't understand what this is supposed to do. It basically makes it so if a unit is being attacked, it attack-moves to another region...but if it's being attacked and it attack-moves... it's just gonna keep attacking whatever it's in battle with at the moment. That isn't going to do anything ;P
12-29-2002, 05:02 PM#3
Crash+Burn
The idea of that last trigger is to make it so that if the unit is attacked, it would get unstuck by being ordered to attack-move to where its supposed to. It seems like its working to me, and i'd like to know of any triggers that might help make stuff get unstuck without firing a trigger every time something is attacked, which i believe might be creating lag.