Skip to content
ct

Class

AddAfterGameSeconds

Generated GDScript class reference for CalendarTime.AddAfterGameSeconds.

Status
Current
Version
v2.0.4
Updated
2026-08-09

Adds a int value to a target node with add(int) method when a number of game seconds have elapsed on the TimeSignalBus. [br][br] You can stop this node from executing by setting process_mode to disabled

Source: addons/calendar_time/ageing/add_after_game_seconds.gd

Syntax

class AddAfterGameSeconds extends Node

Members

NameKindSummary
ClockValidatorFieldWhere to receive updates to the current date time from `ClockValidator` is preloaded here to validate this timer's clock binding.
clockPropertyElapsed game seconds from this clock drive the deferred-add timer.
target_nodePropertyNode added as a child once the bound clock reaches the configured game-seconds threshold.
seconds_amountPropertyAdd this to the target_node per period
intervalPropertyNumber of age values per increase
remainder_secsPropertyAccrued time that has no been used in adding value to the target node yet
last_update_secsPropertyThe last time in seconds that this component was updated
interval_secsPropertyThe amount of secs that should elapse between adds
total_addsPropertyTotal number of times this component has called add on the target(s)
updateMethod