Testing cutscene setup

This commit is contained in:
2026-01-08 22:23:07 -06:00
parent 316e4a154a
commit cd2dd3fe0e
12 changed files with 58 additions and 10 deletions

View File

@@ -1,5 +1,5 @@
class_name Entity extends CharacterBody3D
const ConversationElement = preload("res://ConversationElement.gd")
const ConversationElement = preload("res://cutscene/conversation/ConversationElement.gd")
enum MovementType {
NONE,

View File

@@ -17,8 +17,7 @@ func isInteractable() -> bool:
return true
func _onConversationInteract(_other:Entity) -> void:
print("Starting conversation with ", entity.name)
pass
CUTSCENE.setConversation(entity.conversation)
func onInteract(other:Entity) -> void:
if entity.interactType == Entity.InteractType.NONE:
@@ -29,4 +28,4 @@ func onInteract(other:Entity) -> void:
_onConversationInteract(other)
return
_:
pass
pass