Hi there, I was wondering if there is a way to change the spread of a custom projectile, for example, Genji secondary fire shooting two of the three projectiles in different directions.
Here’s the code i used. You can change value you subtract from the Horizontal Facing angle to make the spread bigger or smaller. Also feel free to change the effects.
{
Create Projectile(Genji Shuriken, Event Player, Null, Direction From Angles(Horizontal Facing Angle Of(Event Player) - 5,
Vertical Facing Angle Of(Event Player)), To World, Damage, Opposite Team Of(Team Of(Event Player)), 25, 1, 0.500,
Bad Explosion, Explosion Sound, 0, 35, 100, 0, 0, 10);
}