Files
experiment-adventure-ai/addons/cutscene_editor/editor/nodes/EntryNode.gd
2025-07-31 09:27:26 -07:00

21 lines
524 B
GDScript

@tool
class_name EntryNode
extends "res://addons/cutscene_editor/editor/nodes/BaseGraphNode.gd"
# Entry point for the cutscene
func _init() -> void:
node_type = "entry"
node_id = "entry_" + str(randi())
title = "Start"
modulate = Color(0.5, 1.0, 0.5) # Light green
# Entry node has no input connections
# Add one output connection point
var output_slot = 0
set_slot(output_slot, false, 0, Color(0, 0, 0, 0), true, 0, Color(0, 0, 0))
func _ready() -> void:
super._ready()
# Entry node has no parameter fields