Solved Need Help With SkDragon Particles

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

Chuckins

New Member
May 5, 2022
8
0
1
27
Hey! So I've been trying to make a wand that shoots a fire beam that deals damage, I have everything right so far, excepty the part where SkDragon comes in, it doesn't give me any errors, there's just no particles no matter what SkDragon code I put


Code:
on right click:
    if name of player's held item is "&fApprentice's Wand":
        if {ApprenticeCooldown} isn't set:
            set {ApprenticeCooldown} to 3
            loop blocks from block above player to block above block 30 in front of player:
                set {_loc} to location of loop-block
                loop living entities in radius 1 around loop-block where [entity input isn't player]:
                    damage loop-entity by 4
                    chance of 25%:
                        ignite loop-entity for 5 seconds
                    exit 2 loops
                if loop-block is solid:
                    stop loop
                #I'd like to have the particle line here
        if {ApprenticeCooldown} is lower than or equal to 0:
            set {ApprenticeCooldown} to 3
            loop blocks from block above player to block above block 30 in front of player:
                set {_loc} to location of loop-block
                loop living entities in radius 1 around loop-block where [entity input isn't player]:
                    damage loop-entity by 4
                    chance of 25%:
                        ignite loop-entity for 5 seconds
                    exit 2 loops
                if loop-block is solid:
                    stop loop
                #I'd like to have the particle line here
        else:
            if {ApprenticeCooldown} is higher than 0:
                cancel event
                message "&cYou can use this again in &e%{ApprenticeCooldown}% &cseconds!" to player
                play sound "ENTITY_ENDERMAN_TELEPORT" with volume 200 with pitch 0.4 at player for player

every 0.1 seconds:
    if {ApprenticeCooldown} is higher than 0:
        set {ApprenticeCooldown} to {ApprenticeCooldown} - 0.1


every 0.1 seconds:
if {ApprenticeCooldown} is higher than 0:
set {ApprenticeCooldown} to {ApprenticeCooldown} - 0.1[/CODE]
 
You don't really need SkDragon for that, you can just use vanilla Skript
Code:
play 5 FLAME with offset of 0.2, 0.2, 0.2 and speed 0 at location of loop-block

You can easily change the amount, offset, speed and location of the particles.
 
You don't really need SkDragon for that, you can just use vanilla Skript
Code:
play 5 FLAME with offset of 0.2, 0.2, 0.2 and speed 0 at location of loop-block

You can easily change the amount, offset, speed and location of the particles.

Thanks! Works like a charm!
 
Status
Not open for further replies.