Frontpage Forums MAPPING HANGOUT MAPPING QUESTIONS Can’t Win… or lose
This topic has 6 replies, 3 voices, and was last updated 6 months, 1 week ago by Captain.
Viewing 7 posts - 1 through 7 (of 7 total)
    • drcxz2 Participant
      April 20, 2023 at 15:48 #4298

      It doesn’t matter if I code it through Nile, NLH or by hand, every game ends in a draw.

      if never() and (OnTick(5)) then

      If I edit someone else’s working WAC file, the game will also end in a draw but their map will work correctly again when I remove the edited code. I know this is something simple, but I cant figure it out.

    • Red Dog Participant
      April 25, 2023 at 18:26 #4299

      I would try removing the ontick(5) and use  ssndead() or  groupdead() or  event()

      if never and groupdead(5) then



    • drcxz2 Participant
      April 29, 2023 at 16:09 #4300

      Thank you for getting back to me.
      I tried several different lines of code using ssndead, ssnride and eq(V1,1) but all of them still result in the game being a draw.

    • Red Dog Participant
      May 8, 2023 at 17:06 #4301

      Which map editor are you using?

    • Red Dog Participant
      May 10, 2023 at 12:35 #4303

      unfortunately I am nor familiar with Nile and can give you no insight, I use XMed but the WAC scripts are then same. Try making a test map with only 1 AI in it and try this script.

      if never() and ssndead(1) then



    • Captain Keymaster
      June 2, 2023 at 09:55 #4305

      It’s because your wac code says “Exactly after 5 seconds when the game has started, make team 1 win”.
      However the way that the game works is that you get points for amount of people/objects that are dead.
      So naturally after 5 seconds, you haven’t killed anyone yet, and therefore the game will say “draw”.

      If you go ahead and change it, like some have suggested in the thread to ssndead, like:

      if never and ssndead(xxxx) then

      (xxxx = a bot on team 2)

      It should end the game saying team 1 wins.

      - Website Administrator

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.

Latest 10 Maps

AW2 – White World

AW2 – WIP Street

AW2 – Battle at Shambala Falls

AW2 – Airport Takedown v3.14

AW2 – Lumberyard XMAS

AW2 – Zombies Christmas

AW2 – Metal Christmas

AW2 – A Cooties XMAS

AW2 – XMAS Package

AW2 – Psycho

Recently Active Members

Profile picture of Captain
Profile picture of -ToF-Oldie
Profile picture of Walker*|*
Profile picture of korzekwa
Profile picture of Bulldog1
Profile picture of TheWad
Profile picture of Disco_Pete
Profile picture of CmdrKaBoom
Profile picture of Coopwarriors
Profile picture of Rich_Kranz
Profile picture of Sleepless
Profile picture of jrussels
Profile picture of PLATINUM-OOZE
Profile picture of Ennio PG
Profile picture of Evilkiller

Log In



Lost password? | Register