Skip to content

Create Node Method

Hippolippo edited this page Oct 17, 2022 · 1 revision

CreateNode(AgentGestalt, string)

Namespace: PlasmaModding

Class: CustomNodeManager

public static void CreateNode(AgentGestalt gestalt, string unique_node_name);

Parameters

Required Arguments:

  • gestalt
    An instance of the AgentGestalt class. Generate using PlasmaModding.CustomNodeManager.CreateGestalt
  • unique_node_name
    This string must be absolutely unique! This will never be displayed in-game, it is used when saving progress. The string is hashed to create the id for this node so it must not overlap with any other nodes including nodes in other mods.

Result:

  • Adds the node described by the gestalt to the game

Clone this wiki locally