Skip to main content

Carnivalhostsummon

Overview

This component marks an entity as being summonable by the Carnival Host. Its primary function is to add the carnivalhostsummon tag upon initialization, with a method to dynamically add or remove this tag later.

Dependencies & Tags

Tags

  • carnivalhostsummon: Added to the entity to mark it as a valid target for being summoned.

Properties

No public properties were clearly identified from the source.

Main Functions

SetCanSummon(cansummon)

  • Description: Enables or disables the entity's ability to be summoned by the Carnival Host by adding or removing the carnivalhostsummon tag.
  • Parameters:
    • cansummon (boolean): If true, the carnivalhostsummon tag is added. If false, it is removed.