Files
experiment-adventure-ai/addons/cutscene_editor/editor/nodes/EntryNode.gd
2025-08-01 08:34:51 -07:00

21 lines
521 B
GDScript
Executable File

@tool
class_name EntryNode
extends "res://addons/cutscene_editor/editor/nodes/BaseGraphNode.gd"
# Entry point for the cutscene
func _init() -> void:
node_type = "entry"
name = "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