Unit dies, you lose.

Scorpions

New Member
Reaction score
12
For any unit dies event:
Trigger:
  • Event
    • Unit - A unit dies
    • Conditions
    • Actions
    • Game - Defeat (Owner of (Dying Unit)) with the message: Hahahahah you loose, noob (?)


For specific unit dies event:
Trigger:
  • Event
    • Unit - A unit dies
    • Conditions
    • (Unit-type of (Dying Unit)) Equal to Noob Man
    • Actions
    • Game - Defeat (Owner of (Dying Unit)) with the message: Hahahahah you loose, noob (?)



byee
 

punwisp

New Member
Reaction score
34
haha, perfect. Thank you =)


Hmm, how about this

of course when a player kills a specific structure its destroyed, but what about not only limiting that strucure to one.. If someone downgraded the building so they can upgrade another building into that structure, but still keep the if its destroy thing you lose. How would I do that?

Maybe make it so if you dont have one in x seconds after its destroyed, you lose?
 

Scorpions

New Member
Reaction score
12
Hmm, i think you need this

Trigger:
  • Event
    • Unit - A unit dies
    • Conditions
    • Or - Any (Conditions) are true
      • Conditions
        • (Unit-type of (Dying Unit)) Equal to Noob Man
        • (Unit-type of (Dying Unit)) Equal to Noob Man Lvl 2
    • Actions
    • Game - Defeat (Owner of (Dying Unit)) with the message: Hahahahah you loose, noob (?)


Hmm, hope you helped :)
 

punwisp

New Member
Reaction score
34
Hmm, I dunno, I just mean after the building is destroyed, wait x seconds, if the player still doesnt own one, that player loses
 

punwisp

New Member
Reaction score
34
Hu?

It should be simple

If a specific unit/structure dies

wait 60 seconds

if there still isn't one that player loses


How about that? Hope thats understandable xD
 

Weegee

Go Weegee!
Reaction score
103
detect if the certain unti dies and wait a few seconds (60 seconds i guess)

Then give him the you noob message and defeat him. Simple as that :D
 

HydraRancher

Truth begins in lies
Reaction score
197
Freehand just for you:
Trigger:
  • Die
    • Events
      • Unit - A unit dies
    • Conditions
      • (Unit-type of (Dying Unit)) Equal to You
    • Actions
      • Wait 60 seconds
      • Set Unit_Group = units in (Playable Map Area) matching (Unit-type of (Matching Unit)) Equal to You AND (Owner of (Matching Unit) equal to (Owner of (Triggering Unit))
      • If all (Conditions) are true, then do (Then Actions) else do (Else Actions)
        • If Conditions
          • Number of units in Unit Group is equal to one
        • Then do (Actions)
        • Else do (Actions)
          • Defeat (Owner of (Triggering Unit)) show scores show dialouges
      • Custom Script: call DestroyGroup (udg_Unit_Group)
 

punwisp

New Member
Reaction score
34
Ha, that looks about just right(i know little about triggers but that looks fine =P) Thank you
 

Scorpions

New Member
Reaction score
12
Hu?

It should be simple

If a specific unit/structure dies

wait 60 seconds

if there still isn't one that player loses


How about that? Hope thats understandable xD

Because i'm argentinian, and i'm good in english but not much xD.

I'm glad you've resolved the problem
 

punwisp

New Member
Reaction score
34
For any unit dies event:
Trigger:
  • Event
    • Unit - A unit dies
    • Conditions
    • Actions
    • Game - Defeat (Owner of (Dying Unit)) with the message: Hahahahah you loose, noob (?)


For specific unit dies event:
Trigger:
  • Event
    • Unit - A unit dies
    • Conditions
    • (Unit-type of (Dying Unit)) Equal to Noob Man
    • Actions
    • Game - Defeat (Owner of (Dying Unit)) with the message: Hahahahah you loose, noob (?)



byee


Wait, question on this, is this only for 1 player? Because its a 12 player map lol, or does this mean, whoever is controlling the unit that dies, they lose? If its that then theres no problem, everyone will have different stuff
 

Dest

New Member
Reaction score
26
Wait, question on this, is this only for 1 player? Because its a 12 player map lol, or does this mean, whoever is controlling the unit that dies, they lose? If its that then theres no problem, everyone will have different stuff

It's same thing, it is for 12 player, but you just add 'Pick in every player and do action' then add an action to the loop that everyone loses the game.
 

punwisp

New Member
Reaction score
34
But I dont want everyone to lose the game lol, if one players main structure dies, that player loses.
 

Dest

New Member
Reaction score
26
But I dont want everyone to lose the game lol, if one players main structure dies, that player loses.

Oh, I see. Simply do the trigger above, but make sure that player's structure gets destroyed for each player respectively.
 
General chit-chat
Help Users

      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