ItsMods

Full Version: Magicbullets and Radius Damages
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello

Another tutorial of a very asked question:

MagicBullets and Radius Damages

To play a magicbullet just use this:

Code:
MagicBullet( weapon of the magicbullet, where does it appear, where does the magicbullet ends, self );

An example, this will make a stinger rocket that goes from my origin to my origin(top)

Code:
MagicBullet( "stinger_mp", self.origin, self.origin+(0,0,100), self );

A radiusdamage works like this:

Code:
RadiusDamage( origin , radius, max damage, min damage, self);

This could be an example of a radiusdamage that plays at our position with a radius of 400 and a max damage of 150, a min damage of 100.

Code:
RadiusDamage( self.origin , 400, 150, 100, self);

Also, many times I have seen raging kids because they die with the radiusdamage. To solve the problem, use this:

Code:
SetPlayerIgnoreRadiusDamage( true );

Thats all, Wink
(07-27-2011, 11:41)Yamato Wrote: [ -> ]A radiusdamage works like this:

Code:
RadiusDamage( origin , radius, max damage, min damage, self);

This could be an example of a radiusdamage that plays at our position with a radius of 400 and a max damage of 150, a min damage of 100.

Code:
RadiusDamage( self.origin , 400, 150, 100, self);

Also, many times I have seen raging kids because they die with the radiusdamage. To solve the problem, use this:

Code:
SetPlayerIgnoreRadiusDamage( true );

Thats all, Wink

Does RadiusDamage work for bo?
(07-27-2011, 16:30)Lemon Wrote: [ -> ]
(07-27-2011, 11:41)Yamato Wrote: [ -> ]Hello

Another tutorial of a very asked question:

MagicBullets and Radius Damages

To play a magicbullet just use this:

Code:
MagicBullet( weapon of the magicbullet, where does it appear, where does the magicbullet ends, self );

An example, this will make a stinger rocket that goes from my origin to my origin(top)

Code:
MagicBullet( "stinger_mp", self.origin, self.origin+(0,0,100), self );

A radiusdamage works like this:

Code:
RadiusDamage( origin , radius, max damage, min damage, self);

This could be an example of a radiusdamage that plays at our position with a radius of 400 and a max damage of 150, a min damage of 100.

Code:
RadiusDamage( self.origin , 400, 150, 100, self);

Also, many times I have seen raging kids because they die with the radiusdamage. To solve the problem, use this:

Code:
SetPlayerIgnoreRadiusDamage( true );

Thats all, Wink

Does RadiusDamage work for bo?

Yes, Smile