Testing cutscene setup
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user