Skip to main content

Condition_ActionTimeTag

Description

Checks whether actions with a specific ActionTag have been performed continuously for a certain amount of time by the specified BaseObject. The accumulated execution time of all actions sharing the given ActionTag is compared against the specified value. Accumulated time is preserved across different interactions as long as the gap does not exceed DA_GameConfig::ActionTimeResetDelay.

Parameters

ParameterDescription
BaseObjectThe object whose action execution time will be checked (Self or Target).
CompareTypeThe comparison operator (Greater, Less, Equal, GreaterOrEqual, LessOrEqual, InRange, OutRange).
S1The ActionTag name to check.
F1The time value in seconds to compare against. Used as the minimum value for InRange/OutRange.
F2The maximum time value in seconds for InRange/OutRange comparisons.

Examples

DescriptionBaseObjectCommandCompareTypeS1F1F2
Check if Self has performed Piano-tagged actions for 10s or moreSelfActionTimeTagGreaterPiano10
Check if Self has performed Computer-tagged actions for 300s or moreSelfActionTimeTagGreaterComputer300
Check if Self has performed Computer-tagged actions for 60 to 120sSelfActionTimeTagInRangeComputer60120
Check if Target has performed Piano-tagged actions for 10s or moreTargetActionTimeTagGreaterPiano10