Paste #108065: example circle script

Date: 2023/03/28 21:25:24 UTC-07:00
Type: Denizen Script

View Raw Paste Download This Paste
Copy Link


1
2
3
4
5
6
7
8
9
10
11
12


circleMakey:
    type: world
    debug: false
    events:
        on player right clicks sand:
            - define location:<player.location>
            - repeat 45 as:i:
                - define EffectLocation <[location].with_pitch[0].rotate_yaw[<[i].mul[9]>].forward_flat[2.5].up[0.1]>
                - playeffect effect:flame at:<[EffectLocation]> visibility:100 quantity:1
            # added a definition for clarity. Probably better to use the tag directly.
            # make sure the repeat amount and the rotate_yaw tag would multiply to 360 (or at least very close to it)
            # this makes a circle with a radius of 2.5