Skip to content

Make Play Sound Effect an EffectSection #8725

Description

@AnOwlBe

Suggestion

Currently https://skripthub.net/docs/?id=1121 (Play Sound) effect is not an an effect section which is fine theres no issues but the syntax is pretty darn messy

Image

I feel it'd be better with something like:

e
play sound "" to player:
         set volume of event-sound to 5
         set pitch of event-sound to 5

though that is a bit wonky as why would you play a sound then set volume & pitch? so a better idea is to implement a sound class info

would allow for something like


set {_m} to a new sound with key "":
      set pitch of event-sound to 5
      set volume of event-sound to 25
play sound {_m} to player

same could be done for stop sound but more like set {_m} to sound with key "m" then stop sound {_m} for player or stop sound sound with key "m" for player

Why?

currently the syntax is very long and messy and not great for the parser i'd imagine

Other

null

Agreement

  • I have read the guidelines above and affirm I am following them with this suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: lowIssues that are not harmful to the experience but are related to useful changes or additions.suggestion

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions