Ending A game

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
lilmanbryan
Member
Posts: 52
Joined: January 10th, 2008, 6:29 am
Title: Learning to Model
Location: Shoreline, Wa

Ending A game

Post by lilmanbryan »

How can I make it so that when a certain players certain unit is destroyed, they are defeated? :? :? :?
[blinking]lilmanbryan[/blinking] appreciates you reading this...

[blinking]Look Down...[/blinking]

Spoiler:
You Weren't Supposed to Look Here...


[blinking]Look Up...[/blinking]
Durchdringen
Honorary wc3edit.net Traitor
Posts: 468
Joined: December 10th, 2007, 10:50 pm
Title: The Professional
Location: USA

Re: Ending A game

Post by Durchdringen »

lilmanbryan wrote:How can I make it so that when a certain players certain unit is destroyed, they are defeated? :? :? :?
Player Targeted:

Events
Unit - A unit owned by Player 1 (Red) Dies
Conditions
(Triggering unit) Equal to Footman 0001 <gen>
Actions
Game - Defeat (Owner of (Triggering unit)) with the message: Defeat!

Change to any player color or add player color.
Replace footman0001 with any desired unit.

-------------------------------------

General

Events
Unit - A unit Dies
Conditions
(Unit-type of (Triggering unit)) Equal to Footman
Actions
Game - Defeat (Owner of (Triggering unit)) with the message: Defeat!

Just replace "Footman" with any desired "generic unit"


Both will work, second would be better if you were using the same unit with all heroes.

And if the player has only one unit to use, then this will simply work, just make sure that if you need a certain player to exist, to put a condition in to what players will be included.

Events
Unit - A unit Dies
Actions
Game - Defeat (Owner of (Triggering unit)) with the message: Defeat!
Do you support Durchdringen? If so, add the spoiler to your sig. Durch cares for you, so show your support for Durch!
Spoiler:
(broken image) Thanks for the support!
User avatar
lilmanbryan
Member
Posts: 52
Joined: January 10th, 2008, 6:29 am
Title: Learning to Model
Location: Shoreline, Wa

Re: Ending A game

Post by lilmanbryan »

Ok, [blinking]Thank You Very Much![/blinking]
[blinking]lilmanbryan[/blinking] appreciates you reading this...

[blinking]Look Down...[/blinking]

Spoiler:
You Weren't Supposed to Look Here...


[blinking]Look Up...[/blinking]
Durchdringen
Honorary wc3edit.net Traitor
Posts: 468
Joined: December 10th, 2007, 10:50 pm
Title: The Professional
Location: USA

Re: Ending A game

Post by Durchdringen »

No problem, glad to have helped.
Do you support Durchdringen? If so, add the spoiler to your sig. Durch cares for you, so show your support for Durch!
Spoiler:
(broken image) Thanks for the support!