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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. ufo in console and writing a ufo script

ufo in console and writing a ufo script

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

    I want to add a ufo function in the little gsc script im making, but I cant find/make one that I like as much and works as well as the ufo function that the pluto team has implemented into the in-game console.
    Is there any way I can make use of the one that the team has made, in my script.
    As in copying the code or calling on it.
    Thanks!

    JezuzLizardundefined 1 Reply Last reply
    0
    • JezuzLizardundefined Offline
      JezuzLizardundefined Offline
      JezuzLizard Plutonium Staff
      replied to cmp on last edited by
      #2

      cmp GSC can't execute arbitrary commands on players so it isn't possible to do this.

      cmpundefined 1 Reply Last reply
      0
      • cmpundefined Offline
        cmpundefined Offline
        cmp
        replied to JezuzLizard on last edited by
        #3

        JezuzLizard
        But is the ufo function, that the team has built into the console, a gsc script?
        If it is... could I essentially copy that script and use it in my script.

        And if it isnt then could you please tell me what it is and how it works, thanks!

        JezuzLizardundefined 1 Reply Last reply
        0
        • JezuzLizardundefined Offline
          JezuzLizardundefined Offline
          JezuzLizard Plutonium Staff
          replied to cmp on last edited by
          #4

          cmp It isn't a GSC script, and it is proprietary Plutonium code so it cannot be shared.

          The best thing you can do is make a server plugin that adds a GSC function that calls the ufo command on a player.

          cmpundefined 1 Reply Last reply
          0
          • cmpundefined Offline
            cmpundefined Offline
            cmp
            replied to JezuzLizard on last edited by
            #5

            JezuzLizard ah okay well thanks for taking the time to explain, ill just work on polishing my script.

            1 Reply Last reply
            0

            • Login

            • Don't have an account? Register

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