Results 1 to 4 of 4
  1. #1
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115

    Do thing(s) to another team

    This board is probably a bit dead, but Black Ops sucks in my opinion, and I want to mod MW2 a bit more.

    So I want to create a Time Stop for a team, I got this code but obviously it doesnt work

    Code:
    DoTimeStop()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
    
        self notifyOnPlayercommand("F", "+activate");
        self waittill("F");
    
        if(self.team == "allies")              
        {
                self freezeControls(false);
        }
        if(self.team == "axis")          
        {
                self freezeControls(true);
                wait 5;
                self freezeControls(false);
        }
        
    }
    (Yes I know why it doesnt work)

    But does anyone know how I could do, yeah, this?

  2. #2
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    What exactly are you trying to get? I don't understand what doesn't work.

  3. #3
    Arasonic's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    569
    Reputation
    11
    Thanks
    115
    If you're allies, you dont freeze, but neither does the other team.
    If you're axis, you freeze.

    Its only gonna be usable for allies, so that when one use it, the axis team freeze, while allies can kill frozen enemies.

  4. #4
    jimmynguyen3030's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    NukeTown
    Posts
    263
    Reputation
    10
    Thanks
    18
    My Mood
    Bored
    lol thts evil try
    Code:
    DoTimeStop()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
    
        self notifyOnPlayercommand("F", "+activate");
        self waittill("F");
                    if(self.team == "allies")              
                    self thread axis();
        }
        
    }
    
    axis()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
    
        if(self.team == "axis")          
                self freezeControls(true);
                wait 5;
                self freezeControls(false);
        }
        
    }
    This is not tested so hope it works!!
    If I Helped You, Plz Thanks.
    It Would Help Alot

    What Do You Do For A Living?
    I Mostly Own Noobs With The AK-47 With Silencer
    What's That?
    (Turns To Friend)
    HAHAHA Noob!!!!!!

Similar Threads

  1. another thing i wrote
    By ShAg12345 in forum General
    Replies: 15
    Last Post: 07-18-2010, 08:56 AM
  2. Another thing I put together =)
    By ghostsbow in forum Art & Graphic Design
    Replies: 3
    Last Post: 09-03-2009, 03:39 AM
  3. IMPORTANT THING FOR WOLF TEAM
    By kemooo305 in forum WolfTeam General
    Replies: 1
    Last Post: 06-11-2008, 01:39 PM
  4. another thing i wannted to ask
    By jayy in forum WarRock - International Hacks
    Replies: 4
    Last Post: 05-24-2008, 09:04 AM