Skip to content

Traits/Mechanic API v2 #6

Description

@rniraclefire

Some mechanics (BoxSpawner, Zipline, etc) require binding activation to a child, which is impossible to configure right now. We might want to implement Traits from the old rewrite repository for this:

std.implementBindActivation(BoxSpawner, function(...)

end))

std.implementOnActivate(BoxSpawner, function(...)

end))

-- libs/Level:

BindActivation:call(BoxSpawner, ...)

Waiting to see if luau-lang/rfcs#191 will implement inheritance which would probably be used for Mechanics onwards

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