Results 1 to 5 of 5
  1. #1
    edub18's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    Germany
    Posts
    146
    Reputation
    10
    Thanks
    12
    My Mood
    Bored

    [Solved]Artillery Selector

    Hey,
    im tryin to select a region by the following code:
    Code:
    self endon("disconnect");
    self endon("cancel_location");
     
    self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
    self.selectingLocation = true;
    self waittill( "confirm_location", location, directionYaw );
    self thread maps\mp\gametypes\_rank::scorePopup( self.bomberXP, 0, level.pops, 0 );
    But when i hit ESC while selecting an area, i get stuck at the selection-screen.
    Someone can help me?
    Last edited by Blubb1337; 09-15-2010 at 12:40 PM.

  2. #2
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    /moved to gsc help



  3. #3
    zxz0O0's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    209
    Reputation
    10
    Thanks
    136
    My Mood
    Aggressive
    do
    Code:
    self notifyOnPlayerCommand("cancel_loc", "togglemenu");
    then do a loop in it
    Code:
    self waittill("cancel_loc");
    self notify("cancel_location");

  4. #4
    AZUMIKKEL's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    My moms house... what's so funny about that?
    Posts
    790
    Reputation
    19
    Thanks
    462
    My Mood
    Sneaky
    I see that's from my Custom Killstreaks mod.

    [php] self thread triggerLaptop("Napalm Strike");
    self.bomberXP = 2500;
    wait 0.80;
    self thread makeBomber();[/php]

    [php]triggerLaptop(strName)
    {
    self endon("death");
    self endon("esckey");

    self.beforehandweapon = self getCurrentWeapon();

    self thread exitOnEscape(strName);

    self giveWeapon("killstreak_precision_airstrike_mp");
    self switchToWeapon("killstreak_precision_airstrike_mp" );
    wait 0.20;
    self waittill("confirm_location");
    self switchToWeapon(self.beforehandweapon);
    wait 0.80;
    self takeWeapon("killstreak_precision_airstrike_mp");
    }
    [/php][php]
    exitOnEscape(strName)
    {
    self endon("confirm_location");
    self endon("death");
    self waittill("cancel_location");

    self endLocationSelection();
    self switchToWeapon(self.beforehandweapon);
    wait 0.80;
    self takeWeapon("killstreak_precision_airstrike_mp");
    self thread dealStreak(strName, undefined, 0);
    }[/php]



    (This is for having the laptop in as well. To do without laptop just launch this thread.)
    [php]
    exitOnEscape(strName)
    {
    self endon("confirm_location");
    self endon("death");
    self waittill("cancel_location");

    self endLocationSelection();
    // Everything below this is not needed if you don't use
    // laptop or my custom killstreaks mod base
    // so delete that if you dont need it.
    self switchToWeapon(self.beforehandweapon);
    wait 0.80;
    self takeWeapon("killstreak_precision_airstrike_mp");
    self thread dealStreak(strName, undefined, 0);
    }[/php]
    Last edited by AZUMIKKEL; 09-15-2010 at 12:35 PM.
    www.YouTube.com/MpKiller100

  5. #5
    Blubb1337's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Germany
    Posts
    5,923
    Reputation
    161
    Thanks
    3,096
    /marked as solved



Similar Threads

  1. [Solved] Injector problem solved
    By NinjaKantana in forum CrossFire Help
    Replies: 1
    Last Post: 07-12-2011, 02:40 PM
  2. [Solved] my topic got closed but not solved!
    By Panda-kun in forum Call of Duty Black Ops Help
    Replies: 5
    Last Post: 06-15-2011, 06:28 PM
  3. [Solved] CAFlames and other hacks won't work... Solved
    By Hikatso in forum Combat Arms Help
    Replies: 17
    Last Post: 04-28-2011, 11:41 PM
  4. Problem Solved...
    By Dave84311 in forum News & Announcements
    Replies: 0
    Last Post: 04-02-2007, 04:22 PM
  5. this is how i solve stuff with my teachers
    By EleMentX in forum Spammers Corner
    Replies: 3
    Last Post: 12-09-2006, 05:20 PM