feat: Implement Tekton roaming NPC with grid movement, combat mechanics, and multiplayer synchronization.
This commit is contained in:
+5
-4
@@ -105,10 +105,11 @@ func set_carried(state: bool, p_carrier: Node3D = null):
|
|||||||
var controller = get_node_or_null("TektonController")
|
var controller = get_node_or_null("TektonController")
|
||||||
if controller:
|
if controller:
|
||||||
controller.set_physics_process(not state)
|
controller.set_physics_process(not state)
|
||||||
if state:
|
if controller.get("timer"):
|
||||||
controller.get_node("Timer").stop()
|
if state:
|
||||||
else:
|
controller.timer.stop()
|
||||||
controller.call("_start_timer")
|
else:
|
||||||
|
controller.call("_start_timer")
|
||||||
|
|
||||||
if not state:
|
if not state:
|
||||||
update_visual_position()
|
update_visual_position()
|
||||||
|
|||||||
Reference in New Issue
Block a user