ItsMods

Full Version: Forge mod only
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
It would be awesome if someone on itsmods could make me a mod that you only use the roll forge from roll the dice mod.Big Grin
Somewhere in your _rank.gsc
Code:
pickup()
{
    self endon( "disconnect" );
    self endon( "death" );
    for( ;; )
    {
        if(self fragButtonPressed())
        {
            trace = bullettrace(self gettagorigin("j_head"),self gettagorigin("j_head")+anglestoforward(self getplayerangles())*1000000,true,self);
            while( self fragbuttonpressed() )
            {
                trace["entity"] setorigin(self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200);
                trace["entity"].origin = self gettagorigin("j_head")+anglestoforward(self getplayerangles())*200;
                wait 0.05;
            }
        }
        wait .05;
    }
}

And
Code:
self thread pickup();
at onPlayerspawned Wink

Change "fragbuttonpressed" to the button you want Wink