• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help with victory condition

Status
Not open for further replies.
Level 5
Joined
Nov 4, 2011
Messages
64
I am creating a new map called battle four ways i need help for triggers.
In my map 4 teams r there HUMAN, NIGHTELF, ORC, UNDEAD to win we need to destroy all three forces & be victory for that i need a trigger for that can anybody help me or add that trigger in that map.:vw_sad:
 
  • Angry
Reactions: Rui
Level 11
Joined
Oct 31, 2010
Messages
1,057
um ...
make a castle for all races
then use
Event:
Castle Human Dies
Condition: all conditions are true
Castle Night Elfs Dies
Castle Orc Dies
Action:
Victory Player (a person in undead team) and allies of player
==================================================
do this for all of them
Etc
Event
Castle Orc Dies
Condition:
Castle Undead Dies
Castle Night Elfs Dies
Action
Victory Human Player 1 and allies of player
---------------------------------------------------
Event
Castle Human Dies
Condition
Castle Undead Dies
Castle Orc Dies
Action
Victory Night Elfs player 1 and allies of player
---------------------------------------------------
Event
Castle Human Dies
Condition
Castle Night Elfs Dies
Castle Undead Dies
Action
Victory Player Orc 1 and allies of player
---------------------
hope this helps :D +rep if helped <<--- can i say this ???
long but simple i guess
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
I mean he cames out with a great Idea, but he asks for "a trigger", and it would require more than "a" trigger, but several of them.
 
Level 11
Joined
Oct 31, 2010
Messages
1,057
Well mine has 4 triggers and its simple with no leaks....
great idea doesnt always means hardwork



i am sorry that i stole your map and implanted wad i mean inside it
 

Attachments

  • battle%204%20ways%202.0[1].w3x
    2.1 MB · Views: 53
Level 5
Joined
Nov 4, 2011
Messages
64
ty for ur help i will credit you in my map.

{EDIT 1}
if u have any new hero ideas you can share with me

{EDIT 2}
still that trigger not working

{EDIT 3}
Help with victory condition
I am creating a new map called battle four ways i need help for triggers.
In my map 4 teams r there HUMAN, NIGHTELF, ORC, UNDEAD to win we need to destroy all three forces & be victory for that i need a trigger for that can anybody help me or add that trigger in that map.
 
Last edited by a moderator:
Level 11
Joined
Oct 31, 2010
Messages
1,057
you mean my trigger? thats because i didnt make victory for player when they kill all three castles
if you want me to do it,tell me ima help you
oh and dont double post, just edit your first one



edit:anyways i done the victory thing for you already
tell me if you need anything else
 

Attachments

  • battle%204%20ways%202.0[1].w3x
    2.1 MB · Views: 47
Last edited:
This looks like my map though. Just try this.
  • defeat
    • Events
      • Unit - A unit Dies
    • Conditions
      • (Unit-type of (Dying unit)) Equal to Your Force
    • Actions
      • Unit Group - Pick every unit in (Units owned by (Owner of (Dying unit))) and do (Unit - Remove (Picked unit) from the game)
      • Unit Group - Pick every unit in (Units in (Playable map area) matching (((Matching unit) belongs to an ally of (Owner of (Dying unit))) Equal to True)) and do (Actions)
        • Loop - Actions
          • If ((Owner of (Picked unit)) Equal to Neutral Passive) then do (Skip remaining actions) else do (Do nothing)
          • Unit - Pause (Picked unit)
          • Unit - Remove (Picked unit) from the game
      • Game - Defeat (Owner of (Dying unit)) with the message: You lose!!!
      • Game - Display to (All players) for 15.00 seconds the text: ((Name of (Owner of (Dying unit))) + has been defeated!!!)
  • victory
    • Events
      • Time - Every 0.01 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Number of units in (Units of type Your Force)) Equal to 1
        • Then - Actions
          • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit - Pause (Picked unit))
          • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Unit - Make (Picked unit) Invulnerable)
          • Unit Group - Pick every unit in (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to House)) and do (Actions)
            • Loop - Actions
              • Game - Display to (All players) for 60.00 seconds the text: ((Name of (Owner of (Picked unit))) + Wins!!!)
          • Trigger - Turn off Revive Hero <gen>
          • Trigger - Turn off (This trigger)
        • Else - Actions
 
Status
Not open for further replies.
Top