circle of firework and push entity

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Stijn

Member
Feb 16, 2017
12
1
0
20
Hello!
I wanted to have a circle of firework and to push entities in a radius of 20 around the player.
When I type:
loop all entities in radius 20 around player:
push loop-entity upwards at speed 5
all the entities in radius 20 wil push upwards but the player to!
How can I fix that?

When i type:
loop all entities in radius 20 around player:
push loop-entity upwards at speed 5
launch ball large firework colored yellow at radius 20 around player timed 0.1
I doesn't works. How can i make a ring of firework around the player with a length of 20?

Thanks for the help!
 
Just check if the looped entity is the player before pushing it:

code_language.skript:
if loop-entity isn't player

What to use for fireworks depends on your version, SkQuery used to work well but for more recent versions Skellett has a working syntax.
 
Status
Not open for further replies.