| 02-01-2004, 02:18 AM | #1 |
Well i have way to many triggers for this A Aunit in range of a Bunit (ITS ALOT OF UNITS) and that Aunit dies...' I have way to many triggers... i know theres a ezier way... I'm just that type that has so many triggers to do simple things but i know that causes lag now so... Would anyone give me the simplest Trigger Code for this...? |
| 02-01-2004, 08:12 AM | #2 |
I dont quite understand. Care to elaborate a bit? |
| 02-01-2004, 08:43 AM | #3 |
Ok a maze map... If my UNIT A came close to (ALLL THESE) UNit B's The UNIT A dies... I just have to many triggers for this and its really annoying |
| 02-01-2004, 09:42 AM | #4 |
Im not sure there's an easier way if you base it on the event: Unit - Unit Within Range. - Other than keeping all the events in the same trigger. If i misunderstood you, try posting one of your triggers. |
| 02-01-2004, 10:08 AM | #5 |
Well I know theres a simplier way, my trigger is a trigger that you have to click on the unit to make it a varible those things... so thats ALOT of triggers ;\... I know the event... Thats not what i'm talking about... I said i knew the event... How do i do the action.. |
| 02-01-2004, 10:40 AM | #6 |
Okay, but you're still not being too clear. You want an action that: 1) Removes a specific unit? 2) Removes all units of same type? 3) Removes all/a specific unit within range of some unit? 4) Something i dont understand? Have you tried the "Unit - Pick Every Unit Within Range Matching Condition" for this? |
| 02-01-2004, 11:13 AM | #7 |
3 But a not all... and its alot of units 3) Removes a specific unit within range of some alot of units also If unit not here kill their units how would that trigger work? |
| 02-01-2004, 11:21 AM | #8 |
Give all unit B an Ability that is an Aura abilty. two way of doing.... a) if specific unit A is checked with the buff of aura ability on it...kill unit A. b) easier way to do it: make the aura ability the tornado damage ability and make the damage huge so that if the unit A come near any of the unit that has the aura it will be instantly killed without using any trigger... :ggani: |
| 02-01-2004, 11:45 AM | #9 |
but theres a way of doing it... |
| 02-01-2004, 12:04 PM | #10 |
Sorry but the what do you want? do you want to kill the unit A (player unit) whenever it get to close a trap unit, a monster unit a whatever unit (lot lot lot of units) ? if i am correct? then the easiest way trigger free, lag free way of doing this is to use the aura. object editor. ability. neutral passive. damge building aura(tornado) copy paste. edit the copy in custom ability change name to kill aura change the area to what you want, you can create multiple copy with diverse area. change the target to affect only the unit of player( use mechanical for example) set player unit classification mechanical and other unit (not mechanical) set damage to 100 per second if life of player unit is 100. add normal ability to all monster unit custom ability kill aura now u got a non trigger that kill any player(mechanical) if unit A is near unit b (any monster with kill aura) at the range of your choice. |
| 02-01-2004, 12:32 PM | #11 |
And i waz none for these things... I mean this is why i always had so many triggers i had my own lil ways of doing things :D Well i was all worked up in the trigger for this but THX |
