drawSphere question

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

Cooleeo

Member
Apr 18, 2018
17
1
0
24
Is it possible to use the drawSphere effect from skDragon to create a sphere that can roll and then hit a player and damage them, through an explosion or something?
 
Yes it is possible, use the Request section of the forums if you aren't going to supply code that you need help with
 
It's possible, but it's not an inherent skDragon feature. You'd want to store a location that your "ball" is at, have the sphere draw at that variable's location, and then do logic yourself to damage players within (sphere's radius) of that location. You could even do stuff like storing a velocity to have the damage scale with the ball's current velocity.

That all being said, having it actually collide with blocks accurately would be more difficult. You'd like want to use an invisible entity to make it easier, but it will be less clean.
 
  • Like
Reactions: Cooleeo
Status
Not open for further replies.