Staredit Network

Staredit Network -> UMS Assistance -> How To Kill Units When They Totch another unit
Report, edit, etc...Posted by Starkiller1 on 2006-03-10 at 00:48:42
how do u make it so on a map when a unit totches another unit that the unit dies? confused.gif confused.gif confused.gif confused.gif confused.gif confused.gif
Report, edit, etc...Posted by Demaris on 2006-03-10 at 00:55:08

Have a location continuosly moving to the unit you want to die when it touches a unit.

Then have a trigger like this:


Trigger
Description:
Touch death
Players:
¤ Player1
Conditions:
¤ Player 8 (Or whatever player owns the obstacles/units not to be touched) brings at least 1 anyunit to following location
Actions:
¤ Kill all anyunit owned by player 1 at following location.

Report, edit, etc...Posted by FatalException on 2006-03-10 at 00:56:32
It depends on what you mean, will there be a moving unit that kills stuff, or will it be a stationary unit? If it's moving, have a location centered on it and have this trigger:
Trigger
Description:
Kill it moving
Conditions:
¤ Bring 1 Unit that gets killed to 'Killing location.'
Actions:
¤ Kill all Unit that gets killed at 'Killing location.'

If the killing unit doesn't move, just don't add the trigger that constantly centers the location. Simple as eating pie. Or that cake in Kame's signature... Mmmm... Pie and cake... drool.gif
Report, edit, etc...Posted by Kyuubi. on 2006-03-10 at 03:10:36
QUOTE(Starkiller1 @ Mar 9 2006, 09:48 PM)
how do u make it so on a map when a unit totches another unit that the unit dies? confused.gif  confused.gif  confused.gif  confused.gif  confused.gif  confused.gif
[right][snapback]442511[/snapback][/right]

like a main hero that goes near(or touching) a unit it dies?

make the move location center on the hero like this,if you want it really close make the location size 2x2;

Conditions:
Always

Actions:
Center "Location 1"on 'unit' for 'player' at 'anywhere'
preserve trigger

then for the part of units getting close die;

Conditions:
'Another Player' bring at least 1 unit to 'location 1'

Actions:
Kill all 'men' at 'Location 1'
preserve trigger

feel free to adjust the stuff in ' ' to your liking
Next Page (1)