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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. [Support] Hunter Killer Riding Help

[Support] Hunter Killer Riding Help

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
6 Posts 2 Posters 178 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.
  • Hyperundefined Offline
    Hyperundefined Offline
    Hyper
    wrote on last edited by Mr. Android
    #1

    Hello

    Just trying to get this GSC to work where instead of sitting on the Hunter Killer until it exploads, it instead sits there for a few seconds then lets you fall? tried everything i could think of but did not work.

    Code:

    doHunterRide()

    {

    self endon("disconnect");
    
    
    
    self giveWeapon( "missile_drone_mp" );
    
        self switchToWeapon( "missile_drone_mp" );
    
        self iPrintln("Hunter Killer Drone ^2Given");  
    
    wait .3;
    
    for (;;)
    
    {
    
    	self waittill("missile_fire", weapon, weapname);
    
    	self enableInvulnerability();
    
    	if (weapname == "missile_drone_projectile_mp")
    
    	{
    
    		self PlayerLinkTo(weapon);
    
    		weapon waittill("death");
    
    		self detachAll();
    
    		self DisableInvulnerability();
    
    	} 
    
    wait 0.05;
    
    }
    

    }

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

      These mods for trickshotters are getting more and more ridiculous I swear, but who am I to judge.

      Anyway, replacing weapon waittill("death"); by wait X; (replace X by the amount of seconds you want) should do the trick. I'm not sure how you can come up with a "waittill" but not a simple "wait" though...

      You need to replace self detachAll(); by self Unlink(); aswell: detachAll() isn't what you need to use in that situation.

      Also put self enableInvulnerability(); inside your if statement : you don't want to give godmode to people who fires RPGs/SMAWs.

      Hyperundefined 1 Reply Last reply
      0
      • Hyperundefined Offline
        Hyperundefined Offline
        Hyper
        replied to Sass on last edited by
        #3

        Sass haha yeah they are it is sick though.

        I tried putting “ wait x “ but for some reason it just doesn’t detach at all, jus totally ignores the wait,

        Sassundefined 1 Reply Last reply
        0
        • Sassundefined Offline
          Sassundefined Offline
          Sass Plutonium Staff
          replied to Hyper on last edited by Sass
          #4

          Hyper Did you use self Unlink(); instead of self detachAll(); ?
          I told you to use Unlink() in my previous reply, I suggest you read it entirely.

          Hyperundefined 1 Reply Last reply
          0
          • Hyperundefined Offline
            Hyperundefined Offline
            Hyper
            replied to Sass on last edited by
            #5

            Sass thank you love you. Working fine now thank you

            1 Reply Last reply
            0
            • Sassundefined Offline
              Sassundefined Offline
              Sass Plutonium Staff
              wrote on last edited by
              #6

              Glad to hear that. Locking thread.

              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