Component Designer API

Visual Scripting

Browse Component Designer instructions, properties, and events available to Game Creator 2 visual scripting.

Visual Scripting

The entries below are provided by Component Designer. The components you add still use the normal Game Creator 2 instructions, conditions, events, and properties.

Properties

Get properties

Component Action List (ComponentActionsProperty)
  • Title: Component Action List
  • Description: Gets the GameObject that owns an Action component from the current Component Design.
  • Category: Component Designer/Component Action List
  • Type: GameObject
  • Parameters: None specified
  • Keywords: None specified
  • Source: ComponentDesigner/Runtime/Property/ComponentActionsProperty.cs
Component Condition List (ComponentConditionsProperty)
  • Title: Component Condition List
  • Description: Gets the GameObject that owns a Conditions component from the current Component Design.
  • Category: Component Designer/Component Condition List
  • Type: GameObject
  • Parameters: None specified
  • Keywords: None specified
  • Source: ComponentDesigner/Runtime/Property/ComponentConditionsProperty.cs
Component Trigger List (ComponentTriggerProperty)
  • Title: Component Trigger List
  • Description: Gets the GameObject that owns a Trigger component from the current Component Design.
  • Category: Component Designer/Component Trigger List
  • Type: GameObject
  • Parameters: None specified
  • Keywords: None specified
  • Source: ComponentDesigner/Runtime/Property/ComponentTriggerProperty.cs
Component Local Name Variables List (ComponentLocalNameVariablesProperty)
  • Title: Component Local Name Variables List
  • Description: Gets the GameObject that owns a Local Name Variables component from the current Component Design.
  • Category: Component Designer/Component Local Name Variables List
  • Type: GameObject
  • Parameters: None specified
  • Keywords: None specified
  • Source: ComponentDesigner/Runtime/Property/ComponentLocalNameVariablesProperty.cs
Component Local List Variables List (ComponentLocalListVariablesProperty)
  • Title: Component Local List Variables List
  • Description: Gets the GameObject that owns a Local List Variables component from the current Component Design.
  • Category: Component Designer/Component Local List Variables List
  • Type: GameObject
  • Parameters: None specified
  • Keywords: None specified
  • Source: ComponentDesigner/Runtime/Property/ComponentLocalListVariablesProperty.cs
Component Designer Parameter Properties

Component Designer also generates Get properties for the parameter types found in Game Creator 2 and installed modules. Their categories are under Component Designer/Component ... Parameter. The exact list depends on the modules installed when the parameter scan runs.

  • Type: The value type supplied by the parameter, such as GameObject, String, Number, Boolean, Color, Position, Rotation, Scale, Item, Quest, Stat, or another supported module type.
  • Parameters: The selected Component Designer parameter.
  • Keywords: None specified

Set properties

None.

Events

On Local Name Change Enchanted (EventOnLocalNameChangeEnchanted)

  • Title: On Local Name Change Enchanted
  • Description: Runs the Trigger when a Local Name Variables value changes on the selected GameObject.
  • Category: Variables/On Local Name Change Enchanted
  • Parameters: None specified
  • Keywords: None specified
  • Source: ComponentDesigner/Runtime/Instructions/EventOnLocalNameChangeEnchanted.cs

On Local List Change Enchanted (EventOnLocalListChangeEnchanted)

  • Title: On Local List Change Enchanted
  • Description: Runs the Trigger when a Local List Variables value changes on the selected GameObject.
  • Category: Variables/On Local List Change Enchanted
  • Parameters: None specified
  • Keywords: None specified
  • Source: ComponentDesigner/Runtime/Instructions/EventOnLocalListChangeEnchanted.cs