View Issue Details

IDProjectCategoryView StatusLast Update
0006563The Dark ModCodingpublic07.09.2024 18:45
ReporterMirceaKitsune Assigned To 
PrioritynormalSeveritynormalReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSManjaroOS VersionStable
Product VersionTDM 2.12 
Summary0006563: trigger_inactivity ignores delay when set to 1 second or less
DescriptionThe timer for the trigger_inactivity entity ignores its delay when set to 1 or below: The entity always triggers its targets once every second, even if it's triggered again during this time. I asked other users to run my test case and others could confirm the result.
Steps To Reproduce1. Create a trigger_multiple brush. Give it a wait spawnarg of 0.05.
2. Create a trigger_inactivity entity. Give it a delay of spawnarg of 0.5.
3. Create a toggleable electric light that can be triggered on and off.
4. Link the trigger_multiple brush to the trigger_inactivity entity and the trigger_inactivity to the light.

Expected result: Since the trigger_multiple executes every 0.05 seconds and the trigger_inactivity waits for 0.5 seconds, the player sitting inside the brush for several seconds should not cause the light to change, this should instead happen 0.5 seconds after the player has left the boundaries of the trigger_multiple brush.

Observed result: As the player sits inside the trigger_multiple brush, the light constantly blinks between on and off every 1 second. I get the correct behavior if I set the delay of the trigger_inactivity above 1, but this doesn't give me the short amount of time I need. Linking the trigger_multiple directly to the light makes it flicker based on its wait setting and confirms the trigger itself runs at the desired interval, the issue seems to be with inactivity detection when set to 1 second or below.
Additional Informationhttps://forums.thedarkmod.com/index.php?/topic/9082-newbie-darkradiant-questions/&do=findComment&comment=496328
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
07.09.2024 18:45 MirceaKitsune New Issue