Go to the source code of this file.
Clones a projectile so the modifications applied to one of the projectiles is not applied to the other
- Parameters
-
projectile | The projectile to clone |
- Returns
- The cloned projectile
ParticleSystem getProjectile |
( |
string |
class_name, |
|
|
string |
weapon_name |
|
) |
| |
Returns the projectile used by a weapon
- Parameters
-
class_name | The class name |
weapon_name | The weapon name |
- Returns
- The ParticleSystem defining the projectile
void setProjectile |
( |
string |
class_name, |
|
|
string |
weapon_name, |
|
|
ParticleSystem |
projectile |
|
) |
| |
Override the default projectile for a weapon
- Parameters
-
class_name | The class name |
weapon_name | The weapon name |
projectile | The projectile to use for this weapon |
Sets the color and trail (for spinfusors, bolts, blasters, etc) color of a projectile
- Parameters
-
projectile | The projectile to modify |
color | The new color of the projectile |
intensity | The intensity of the color |