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

chowdergirly

Member
Mar 30, 2024
1
0
1
I was trying to write a Skript that's able to change snow golem's snowballs to fireballs, though I'm not too good at stuff like this. It kinda worked, but not only do I not really see the fireballs as much (I assume they phase into the ground or they go too fast), the snow golem shoots them kinda low. I was wondering if anyone could help me figure this one out, please and thank you :emoji_slight_smile:

Here's the code I got so far btw

on shoot:
if shooter is a snow golem:
if projectile is a snowball:
cancel event
loop 10 times:
spawn a small fireball at shooter
set {_direction} to vector between shooter and target of shooter
set velocity of last spawned entity to {_direction}
 
I was trying to write a Skript that's able to change snow golem's snowballs to fireballs, though I'm not too good at stuff like this. It kinda worked, but not only do I not really see the fireballs as much (I assume they phase into the ground or they go too fast), the snow golem shoots them kinda low. I was wondering if anyone could help me figure this one out, please and thank you :emoji_slight_smile:

Here's the code I got so far btw

on shoot:
if shooter is a snow golem:
if projectile is a snowball:
cancel event
loop 10 times:
spawn a small fireball at shooter
set {_direction} to vector between shooter and target of shooter
set velocity of last spawned entity to {_direction}
Would this work?
Code:
on shoot:
    if shooter is a snow golem:
        if projectile is a snowball:
            cancel event
            loop 10 times:
                shoot small fireball from shooter at speed 2