Touch and Die

DevilChild

New Member
Joined
Apr 18, 2004
Messages
2
Reaction score
0
I was just wondering, when you make a map and you want it so when you take a unit and it touches another unit from the enemy, your unit dies or there unit dies.
 

Gemini_Bloodian

Member!
Joined
Apr 8, 2004
Messages
107
Reaction score
0
Website
Visit site
Learn grammer... I think what he is trying to as is:

How do you make it, so a unit instantly kills another unit when it touches them.

Gemini_Bloodian
 

drax

Member!
Joined
Jun 8, 2003
Messages
1,698
Reaction score
0
Ok first make a 1x1 location named: follow p1

Ok, first trigger:
Condition:
Always
Action: Move followp1 to all zergling owned by player 1.
Preserve Trigger

Then make a trigger:
Condition: Player (Computer) brings at least 1 unit to follow p1.
Action: Kill all zergling for player 1 at follow p1

Make that for all players.

Hope this helps.
 

KOolicaNe

Member!
Joined
Jan 19, 2004
Messages
250
Reaction score
0
Location
New York City
Originally posted by drax
Ok first make a 1x1 location named: follow p1

Ok, first trigger:
Condition:
Always
Action: Move followp1 to all zergling owned by player 1.
Preserve Trigger

Then make a trigger:
Condition: Player (Computer) brings at least 1 unit to follow p1.
Action: Kill all zergling for player 1 at follow p1

Make that for all players.

Hope this helps.
Dont Forget about locations :)
 

-MatriX-

R{S}T
Joined
May 20, 2003
Messages
3,099
Reaction score
0
Location
O <-- LOOK A CIRCLE =O
Website
www.battleforums.com
Edited Around A Bit:

Ok first make a location named: Killp1

Trigger:
Condition: Player (Human) brings at least 1 unit to Killp1.
Action: Kill all zergling for player 1 at Killp1.
 

KOolicaNe

Member!
Joined
Jan 19, 2004
Messages
250
Reaction score
0
Location
New York City
Originally posted by -ShaftriX-
Edited Around A Bit:

Ok first make a location named: Killp1

Trigger:
Condition: Player (Human) brings at least 1 unit to Killp1.
Action: Kill all zergling for player 1 at Killp1.
preserve trigger if you want it to last
 

Bolt Head

Member!
Joined
May 20, 2003
Messages
1,194
Reaction score
0
Website
www.shadowfortress.net
Or you could do this and only use one location.

For killing your self (dodge maps, dodge the larva)

Players:
-Force 1
Conditions:
-Always
Actions:
-Move location "1x1" on 'unit' owned by current player at anywhere
-Preserve Trigger

Players:
-Force 1
Condiditons:
-Computer player brings at least one 'men' to location '1x1'
Actions:
-Kill all 'unit' for 'current player' at '1x1'
-Preserve Trigger

(for killing others you touch)

Players:
-Force 1
Conditions:
-Always
Actions:
-Move location "1x1" on 'unit' owned by current player at anywhere
-Kill all men owned at '1x1' owned by foes
-Preserve Trigger
 

DevilChild

New Member
Joined
Apr 18, 2004
Messages
2
Reaction score
0
Thanks guys that helped alot, and sorry for the grammar up top. I admit it was a bit confusing.
 

New threads

Top