Solved Make projectiles fly through players

  • 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.

Uzumaki

Well-Known Member
Feb 20, 2017
310
10
18
33
- Make projectiles fly through players
- Someone know how to do this?
 
What do you mean "fly through players"

Do you mean:

ME -----> GUY -------> YOU

----> = Arrow
And YOU end up taking the dmg instead of GUY?
[doublepost=1524663537,1524663322][/doublepost]
code_language.skript:
on entity shoot:
    event-entity is player:
        push shot projectile in direction of player at speed 0.5

Maybe
 
i need this for a spectator mode because players can block projectiles of other players that are in game.
or for a vanish skript, i think you got it.
 
Last edited:
you need to turn off collision for you entity

read this

here is another thread explaining that its not possible. But vanish plugins can so i am pretty sure its possible. For my minigames server i used premiumvanish to make arrows fly through spectators. still not liking that solution tbh
 
Found an easy way to do this .

code_language.skript:
player.spigot().setCollidesWithEntities(false);



Needs skript-mirror.
For who needs this.
 
Status
Not open for further replies.