Skip to content

'Draw Shape' example doesn't work #9

Open
@JakeGBLP

Description

@JakeGBLP

Environment Information

[17:27:47 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[17:27:47 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[17:27:47 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[17:27:47 INFO]: [Skript] Server Version: 1.21.4-152-4041678 (MC: 1.21.4)
[17:27:47 INFO]: [Skript] Skript Version: 2.10.2 (skriptlang-github)
[17:27:47 INFO]: [Skript] Installed Skript Addons:
[17:27:47 INFO]: [Skript]  - skript-particle v1.3.2 (https://github.com/sovdeeth/skript-particle)
[17:27:47 INFO]: [Skript]  - SkriptJSON v1.0.0
[17:27:47 INFO]: [Skript]  - skript-reflect v2.6 (https://github.com/SkriptLang/skript-reflect)
[17:27:47 INFO]: [Skript]  - Lusk v1.3.4-beta2 (https://github.com/JakeGBLP/Lusk)
[17:27:47 INFO]: [Skript]  - SkBee v3.10.0 (https://github.com/ShaneBeee/SkBee)
[17:27:47 INFO]: [Skript] Installed dependencies:
[17:27:47 INFO]: [Skript]  - Vault v1.7.3-b131
[17:27:47 INFO]: [Skript]  - WorldGuard v7.0.13+82fdc65

Bug Description

Image
this line of code seems to be incorrect

[17:29:19 INFO]: [Skript] Line 5: (particles.sk)
[17:29:19 INFO]:     custom particle of event-shape can't be set to 'dust using dustOption(red, 1)' because the latter is not a custom particle
[17:29:19 INFO]:     Line: set event-shape's particle to dust using dustOption(red, 1)
[17:29:19 INFO]:
[17:29:19 INFO]: [Skript] Loaded 1 script with a total of 1 structure in 0.3 seconds

Steps to Reproduce

Put this code in:

command p:
  trigger:
    set {_curve} to curve from block north of player to block east of player with control point player
    draw shape {_curve} at player for 5 seconds with refresh of 10 ticks:
      set event-shape's particle to dust using dustOption(red, 1)

Errors or Screenshots

No response

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions