win trigger

und34d-rul3

New Member
Reaction score
12
why wont this work??


Code:
win
    Events
        Unit - A unit Dies
    Conditions
        Player_kills[(Player number of (Owner of (Killing unit)))] Equal to 100
    Actions
        Player Group - Add (Owner of (Killing unit)) to Winners
        Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Player Group - Add (Triggering player) to Winners)
        Player Group - Pick every player in (All enemies of (Owner of (Killing unit))) and do (Game - Defeat (Matching player) with the message: You Lost)
        Player Group - Pick every player in Winners and do (Game - Victory (Triggering player) (Show dialogs, Show scores))
 
und34d-rul3 said:
why wont this work??


Code:
win
    Events
        Unit - A unit Dies
    Conditions
        Player_kills[(Player number of (Owner of (Killing unit)))] Equal to 100
    Actions
        Player Group - Add (Owner of (Killing unit)) to Winners
        Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Player Group - Add (Triggering player) to Winners)
        Player Group - Pick every player in (All enemies of (Owner of (Killing unit))) and do (Game - Defeat (Matching player) with the message: You Lost)
        Player Group - Pick every player in Winners and do (Game - Victory (Triggering player) (Show dialogs, Show scores))
U need to fix the matching player to picked player, and triggering player to picked player also.
 
und34d-rul3 said:
gonna test rite now
Test b4 u post next time so u can waste less time, and so it doesnt look like ur spamming. If u havnt read the rules plz do so now: Rules
 
ok didnt get to test it because i came across a diff bug while iw as playing

Code:
player leave
    Events
        Player - Player 1 (Red) leaves the game
        Player - Player 2 (Blue) leaves the game
        Player - Player 3 (Teal) leaves the game
        Player - Player 4 (Purple) leaves the game
        Player - Player 5 (Yellow) leaves the game
        Player - Player 6 (Orange) leaves the game
        Player - Player 7 (Green) leaves the game
        Player - Player 8 (Pink) leaves the game
        Player - Player 9 (Gray) leaves the game
        Player - Player 10 (Light Blue) leaves the game
        Player - Player 11 (Dark Green) leaves the game
    Conditions
    Actions
        Unit Group - Pick every unit in (Units owned by (Triggering player)) and do (Unit Group - Add (Triggering unit) to leavers)
        Unit Group - Pick every unit in leavers and do (Unit - Remove (Triggering unit) from the game)
        Game - Display to (All players) the text: ((Name of (Triggering player)) +  Has left the game, What a wuss)

this doesnt work anyone know why?

it is saposed to remove a players units if they leave
 
Code:
Unit Group - Pick every unit in leavers and do (Unit - Remove (Triggering unit) from the game)

Change Triggering Unit to picked unit.
 
u should have it like this:
Code:
Events: Every .1 seconds of the game.
Conditions: Player 1 Red slot status = has left.
Actions: (your actions)
Of course u have to have Diff triggers for each player, and (your actions) = all of ur actions
 
Unit Group - Pick every unit in leavers and do (Unit - Remove (Triggering unit) from the game)

there is no triggering unit

try all units owned by trigger player
 
mase said:
u should have it like this:
Code:
Events: Every .1 seconds of the game.
Conditions: Player 1 Red slot status = has left.
Actions: (your actions)
Of course u have to have Diff triggers for each player, and (your actions) = all of ur actions

Dont listen to mase, your doing it the right way.
 
und34d-rul3 said:
can i do it now and have it with all players in one thing and do triggering player?
You can do If/Then/Else.
 
The_Prophet said:
Dont listen to mase, your doing it the right way.
Wat if the person was kicked (kicked = defeated not left) then it wouldnt display that he left or was kicked. Sry dbl post!
 
und34d-rul3 said:
there is no all units owned by triggering player
Ya there is. In Player Group click All players then on to combo box u should find it.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper
  • Stephen Stephen:
    Oh no - please don't lose the Nuon content
    +1
  • The Helper The Helper:
    Someone email AtariAge and see if they want me to transfer the forum data over to it
  • Ghan Ghan:
    Could probably keep NUON stuff around here if we wanted.
  • Ghan Ghan:
    Hmm what to do about the World Editor site though?
  • Stephen Stephen:
    I'd rather personally just own a backup of the Nuon data than see it go to AtariAge honestly. If it gets enshittified as per usual, or if some of the "regular" Jaguar folks get there, it's not gonna be fun
  • The Helper The Helper:
    There will be a github of the forum data so the NUON Forum Data I guess would be available there
  • The Helper The Helper:
    World Editor is technically Ryoko stuff not mine you guys can keep that I am not in that even
  • jonas jonas:
    :( end of an era :(
  • The Helper The Helper:
    Dont think of it as an end jonas - think of it as a beginning, because really my friend that is what it is.
  • A Andyoyo:
    Thank you for the hard work over the years. It did not go unnoticed.

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top