Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. How do I force end a game

How do I force end a game

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 3 Posters 158 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ElectroGamesundefined Offline
    ElectroGamesundefined Offline
    ElectroGames
    wrote on last edited by
    #1

    Hello, how do I force end a game?

    1 Reply Last reply
    0
    • Resxtundefined Offline
      Resxtundefined Offline
      Resxt
      Plutonium Staff
      wrote on last edited by Resxt
      #2

      Depends on why you need to do that exactly
      In MP something like this might work
      level thread maps\mp\gametypes\_globallogic::forceend();

      ElectroGamesundefined 1 Reply Last reply
      0
      • Resxtundefined Resxt

        Depends on why you need to do that exactly
        In MP something like this might work
        level thread maps\mp\gametypes\_globallogic::forceend();

        ElectroGamesundefined Offline
        ElectroGamesundefined Offline
        ElectroGames
        wrote on last edited by
        #3

        Resxt I have tried that but it gave me an error. I am in Zombies by the way.

        JezuzLizardundefined 1 Reply Last reply
        0
        • ElectroGamesundefined ElectroGames

          Resxt I have tried that but it gave me an error. I am in Zombies by the way.

          JezuzLizardundefined Offline
          JezuzLizardundefined Offline
          JezuzLizard
          Plutonium Staff
          wrote on last edited by
          #4

          ElectroGames Then do level notify("end_game"); instead.

          ElectroGamesundefined 1 Reply Last reply
          0
          • JezuzLizardundefined JezuzLizard

            ElectroGames Then do level notify("end_game"); instead.

            ElectroGamesundefined Offline
            ElectroGamesundefined Offline
            ElectroGames
            wrote on last edited by ElectroGames
            #5

            JezuzLizard When I try joining a match it says "Disconnected". The end game code isn't running since the condition isn't true.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate