Thread: double jump

Results 1 to 4 of 4
  1. #1
    panzerbjørn's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Pizza Hut...
    Posts
    305
    Reputation
    7
    Thanks
    17
    My Mood
    Angelic

    double jump

    is it possible to make double jump (dash) gsc script?

  2. #2
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Hmm jump x2 higher?
    Code:
    i = self getVelocity();
    self setVelocity(i+(0, 0, i[2]*2));

  3. #3
    panzerbjørn's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    Pizza Hut...
    Posts
    305
    Reputation
    7
    Thanks
    17
    My Mood
    Angelic
    I Meant Jump X2 Times Not 2 Higher but thanks

  4. #4
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    Oh!
    [code]
    something()
    {
    self notifyOnPlayerCommand("jump", something here);
    while(1)
    {
    self waittill("jump");
    self waittill("jump");
    i = self getVelocity();
    self setVelocity(i+(0, 0, i[2]*2));
    }
    }