07-15-2011, 14:04
I found this command inside _customclasses:
if i want a class to regen 0.05 how do i put it into this lines?:
Quote:getHealthRegenModifier()
{
regen = 0.1;
if( isDefined( self.class_num ) && isDefined( self.custom_class[ self.class_num ][ "healthRegeneration" ] ) )
{
switch( self.custom_class[ self.class_num ][ "healthRegeneration" ] )
{
case 1:
regen = 0.0;
break;
case 2:
regen = 0.01;
break;
case 3:
regen = 0.05;
break;
case 5:
regen = 0.2;
break;
case 6:
regen = 0.4;
break;
}
}
return regen;
if i want a class to regen 0.05 how do i put it into this lines?:
Quote:if( response == "vampireI" )
{
self giveWeapon( "l96a1_mp" );
self switchToWeapon( "l96a1_mp" );
{
self SetMoveSpeedScale( 1.2 );
wait 0.05;
}
}
I like turtles