View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006563 | The Dark Mod | Coding | public | 07.09.2024 18:45 | 07.09.2024 18:45 |
Reporter | MirceaKitsune | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | always |
Status | new | Resolution | open | ||
Platform | Linux | OS | Manjaro | OS Version | Stable |
Product Version | TDM 2.12 | ||||
Summary | 0006563: trigger_inactivity ignores delay when set to 1 second or less | ||||
Description | The 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 Reproduce | 1. 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 Information | https://forums.thedarkmod.com/index.php?/topic/9082-newbie-darkradiant-questions/&do=findComment&comment=496328 | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
07.09.2024 18:45 | MirceaKitsune | New Issue |