10 kills -> win

OMGOMGOMG

UMBWGMG (Unidentified Human Being.)
Reaction score
28
Yes. But I don't know how to do that, I could base it off with a quest and then change it, that is if I find the quest tut.
 

Kayoss666

Member
Reaction score
7
i believe you can do it this way.
Trigger:
  • victory
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is A Hero) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is in WestHeroes) Equal to True
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • kills[1] Less than or equal to 8
            • Then - Actions
              • Set kills[1] = (kills[1] + 1)
            • Else - Actions
              • Game - Victory WestPlayers (Show dialogs, Show scores)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Dying unit) is in EastHero) Equal to True
        • Then - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • kills[2] Less than or equal to 8
            • Then - Actions
              • Set kills[2] = (kills[2] + 1)
            • Else - Actions
              • Game - Victory EastPlayers (Show dialogs, Show scores)
        • Else - Actions
 

ilken

New Member
Reaction score
0
How do i make it to?
If - Conditions
((Dying unit) is in WestHeroes) Equal to True
 

Kayoss666

Member
Reaction score
7
okay i will show both the player group and unit group.
Trigger:
  • SettingPlayers
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player Group - Pick every player in (All allies of Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • Player Group - Add (Picked player) to WestHeroes
      • Player Group - Pick every player in (All enemies of Player 1 (Red)) and do (Actions)
        • Loop - Actions
          • Player Group - Add (Picked player) to EastHeroes

Trigger:
  • SettingWestHeroes
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Selling unit) Equal to "YourWestAlter"
    • Actions
      • Unit Group - Add (Sold unit) to WestHeroes

Trigger:
  • SettingEastHeroes
    • Events
      • Unit - A unit Sells a unit
    • Conditions
      • (Selling unit) Equal to "YourEastAlter"
    • Actions
      • Unit Group - Add (Sold unit) to EastHeroes
 

ilken

New Member
Reaction score
0
What type of variable should it be? Because these two doesn't go under the same variable... Btw thx alot for you help so far :)
Actions
Unit Group - Add (Sold unit) to EastHeroes

Loop - Actions
Player Group - Add (Picked player) to EastHeroes
 

OMGOMGOMG

UMBWGMG (Unidentified Human Being.)
Reaction score
28
EastHeroes and WestHeroes are Unit-Group variables. I think.

EastHeroes and WestHeroes are Player-Group variables as well.

Otherwise ask kayosss
 

ilken

New Member
Reaction score
0
Sry if i am slow but i have created a variable that is called "WestHeroes" and it is a unit-group variabel but i can't select it in this command.



If - Conditions
((Dying unit) is in WestHeroes) Equal to True

(sry for my bad english)
 

OMGOMGOMG

UMBWGMG (Unidentified Human Being.)
Reaction score
28
There are 4 Variables

WestHeroes and EastHeroes are Player Groups

West_Heroes and East_Heroes are Unit Groups (Renaming the unit groups to have _)

then you should be-able to select the Unit Groups in Unit Group - ...

and the player groups in the first trigger etc etc
 

Kayoss666

Member
Reaction score
7
Sry if i am slow but i have created a variable that is called "WestHeroes" and it is a unit-group variabel but i can't select it in this command.



If - Conditions
((Dying unit) is in WestHeroes) Equal to True

(sry for my bad english)

ok make a new boolean condition. click where it says ((Triggering unit) is A structure) it should open another window. select the drop down arrow under edit variables and select unit - unit in unit group. click triggering unit and select the drop down arrow again and select event response - dying unit, hit okay. then click (Units in (Playable map area)) and select the arrow next to edit variables and then select your WestHeroes variable. then okay your way out.
 

Kayoss666

Member
Reaction score
7
There are 4 Variables

WestHeroes and EastHeroes are Player Groups

West_Heroes and East_Heroes are Unit Groups (Renaming the unit groups to have _)

then you should be-able to select the Unit Groups in Unit Group - ...

and the player groups in the first trigger etc etc

thanks for putting the underline in there i forgot to put them.

or for least confusion if that is confusion change the player groups to EastPlayers and WestPlayers
 

ilken

New Member
Reaction score
0
ok make a new boolean condition. click where it says ((Triggering unit) is A structure) it should open another window. select the drop down arrow under edit variables and select unit - unit in unit group. click triggering unit and select the drop down arrow again and select event response - dying unit, hit okay. then click (Units in (Playable map area)) and select the arrow next to edit variables and then select your WestHeroes variable. then okay your way out.

Thx i searched my ass off :)
 

ilken

New Member
Reaction score
0
There is just one last little thing. How do i get it to say Westplayers? Then i am finished :)

Else - Actions
Game - Victory WestPlayers (Show dialogs, Show scores)
 

Kayoss666

Member
Reaction score
7
when do you want it to say that? befor it show the victory stuff. the text on screen or inside the victory box window?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top