Skip to content

Create Gestalt Method

Hippolippo edited this page Oct 17, 2022 · 1 revision

CreateGestalt(Type, string, string?, AgentCategoryEnum)

Namespace: PlasmaModding

Class: CustomNodeManager

public static AgentGestalt CreateGestalt(Type agent, string displayName, string? description = null, AgentCategoryEnum category = AgentCategoryEnum.Misc);

Parameters

Required Arguments:

  • agent
    The class of your Agent class, must inherit Agent, is advisable to inherit PlasmaModding.CustomAgent
  • displayName
    The display name for the node in-game

Named Arguments:

  • description - default: null
    The description for the node in-game
  • category - default: AgentCategoryEnum.Misc
    A value in the AgentCategoryEnum or a AgentCategoryEnum typed value returned from PlasmaModding.CustomNodeManager.CustomCategory

Returns:

  • New AgentGestalt object for a custom node with the settings specified

Clone this wiki locally