Skip to content

More strict rules for declaring events #3

Description

@liquidev

MuScript currently permits defining events arbitrarily, so you're free to define event OnCatCrime(); and nobody will complain about it. The engine only supports a limited set of events though, so we should probably narrow down the set of events we allow to that.

Other than that the keyword event is not useful for scripts, as all the functionality can be recreated using regular functions.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions