PDA

View Full Version : Win conditions- HELP ME


Stealth_Prawn
06-02-2006, 9:50 AM
I'm making a map and I want to change to win conditions from having to kill your opponents to having to kill a specific target (kinda like what you have to do in DOTA, only not.) So, what do I have to do?

Sid
06-03-2006, 1:44 AM
Events
- A unit Dies
Conditions
- Dying Unit is equal to <The Winning Condition Unit>
Actions
- Game - Victory Owner of Killing unit
- Pick every player in (Allies of Owner of Killing Unit) and do - Game - Victory Picked Player.
- Pick every player in (Enemies of Owner of Killing Unit) and do - Game - Defeat Picked Player.

If it is DotA style map, you can set Player Groups i.e. force and rework the trigger.

Use call DestroyForce(udg_Yourforce) to eliminate leaks. (Optional)

Stealth_Prawn
06-04-2006, 7:50 PM
Thanks. The map is now complete and on Battle.net! Here it is, Halocraft v.1.3!

iristle
06-05-2006, 11:24 AM
if i could host it, i would but sadyl i have problems with hosting, no one comes, right now im going onto b.net.