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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Problems with round

Problems with round

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
5 Posts 3 Posters 505 Views
  • 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.
  • GAMEX Offline
    GAMEX Offline
    GAMEX
    wrote on last edited by
    #1

    two questions here, does anyone know the correct command to make a landing in the middle of the round to put it in the middle of the gsc script already tried several ways but it doesn't work, I want to change the value of some intems and perks in the middle of the round but it won't , second question, I can't get dinhero pro played in round 5 : example if (level.round_number> = 5 && self.score <500)
    self.score = 500;

    mikzy 1 Reply Last reply
    1
    • GAMEX GAMEX

      two questions here, does anyone know the correct command to make a landing in the middle of the round to put it in the middle of the gsc script already tried several ways but it doesn't work, I want to change the value of some intems and perks in the middle of the round but it won't , second question, I can't get dinhero pro played in round 5 : example if (level.round_number> = 5 && self.score <500)
      self.score = 500;

      mikzy Offline
      mikzy Offline
      mikzy
      Banned
      wrote on last edited by
      #2

      GAMEX For my sanity, would you try to reword this a bit better and I could possibly help here?

      About the round 5 thing, are you wanting it to look like this?

      if (level.round_number >= 5 && self.score < 500)
      {
         self.score = 500;
      }
      
      GAMEX 1 Reply Last reply
      0
      • mikzy mikzy

        GAMEX For my sanity, would you try to reword this a bit better and I could possibly help here?

        About the round 5 thing, are you wanting it to look like this?

        if (level.round_number >= 5 && self.score < 500)
        {
           self.score = 500;
        }
        
        GAMEX Offline
        GAMEX Offline
        GAMEX
        wrote on last edited by
        #3

        mikey yes this is the way I showed it doesn’t work well, I wanted that when it gets to round 5 the player gets 500 points

        1 Reply Last reply
        1
        • Sorex Offline
          Sorex Offline
          Sorex
          Contributor
          wrote on last edited by
          #4

          GAMEX You mean after 5 round the game will give +500?
          This function will work only when game reach round 5

          points_function(){
          while(level.round_number < 5) wait 0.01;
          self.score += 500;
          }
          
          
          GAMEX 1 Reply Last reply
          0
          • Sorex Sorex

            GAMEX You mean after 5 round the game will give +500?
            This function will work only when game reach round 5

            points_function(){
            while(level.round_number < 5) wait 0.01;
            self.score += 500;
            }
            
            
            GAMEX Offline
            GAMEX Offline
            GAMEX
            wrote on last edited by
            #5

            Sorex thanks

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better đź’—

            Register Login
            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
            • Unread 0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate