Skip to content

New scene trigger executor system #20

Description

@Makkkkus

Background

Scene trigger executors do not have proper editor tools, and use strings for identifying classes, functions and fields. They are therefore easy to break, and given that there are no editor tools, often fail silently and kaskade errors.

From https://openhellion.github.io/documentation/level-design:

Triggers are objects that execute an action when triggered. Every trigger has a trigger event. This is an event that causes the trigger to trigger the action it is set to do.
Functionally, triggers are a kind of “sensor” in the game, and is the main way players affect the world. Fulfillement of many quests are handled by triggers, while other uses are buttons for opening and closing doors.

Proposal

Create a new system to replace scene triggers that makes better use of native unity features, has input validation and has compile-time and editor checks.

System should work in parallell with the old system with gradual migration when needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Fields

    No fields configured for Task.

    Projects

    Status
    To do

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions