Login
Create

gravity projectile

P3647

a costum projectile made in workshop, which is affected by gravity. fire the projectile with interact (f), the projectile damages enemies if it hits them.
feel free to use in your own games and change the settings.
you can change the proectile's gravity and speed in the settings.
note: at high speed the projectile may pass through the efround.

Code Snippet

Loading...
Fullscreen
Copy to clipboard

2 Comments

Log in or Sign up to place a comment.
ImPhaIR
*

you can restrict visibility instead of removing the effect:

Create Effect (Filtered Array (All Players(All Teams), Event Player.isPressed), Sphere, Orange, Event Player.position, 0.200,
Visible To Position and Radius);

show only when isPressed == true

andy#26928

Love small snippets like this - I was testing it and if you spam interact the projectile sometimes randomly goes in a straight line.

Update Log (2)

added a way to change gravity and speed values in the workshop settings.

Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord
Workshop.codes - Background image