@ascentbv/ts-common - v1.0.123
    Preparing search index...

    Class DialogueUtilAbstract

    Index

    Constructors

    Methods

    • Enables a dialogue on an entity without opening it for any players.

      Parameters

      • entity: Entity

        The entity to apply the dialogue to.

      • dialogue: string

        The identifier of the dialogue screen to assign.

      Returns void

    • Enables a dialogue and forcibly opens it for specific players. Useful for cutscenes or scripted interactions.

      Parameters

      • entity: Entity

        The entity presenting the dialogue.

      • targetPlayers: Entity[]

        A list of players to force the dialogue to open for.

      • dialogue: string

        The identifier of the dialogue to open.

      Returns void

    • Removes dialogue from an entity and disables dialogue functionality.

      Parameters

      • entity: Entity

        The entity whose dialogue should be removed.

      Returns void