For non-repeatable trigger the expectation is that when condition is met, OnActivation is called, trigger state is stored as activated and trigger is disabled. This is not the case for the last part. The condition is continuously checked even after activation which is not-logical and may introduce a performance hit if check interval is in sub-seconds and there are a lot of triggers in the scenario.
Description
Details
- Severity
- Minor
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 10 x64
- Category
- Engine
- Create area trigger with Type: None, Activation: Any Player, Activation Type: Present, Interval: 1
- Set following in Condition field
diag_log "Present"; this;
- Add following in On Activation field
hint "Activated"
- Run game and enter the trigger area
- See that "Activated" hint shown
- Look into rpt log and see that "Present" keeps appearing continuously every second.
Event Timeline
yeah yeah yeah we know, unfortunately this cannot be fixed globally due to backward compatibility so it will be an option in either createTrigger or setTriggerActivation ...or both
Doesn't have to be global. A tick-box in editor and a parameter for the mentioned functions would be totally fine. And a mention in documentation :). If I knew it's a known thing I wouldn't create a redundant ticket in the first place.
Well, without a tickbox, the triggers created by editor will have to be manually altered in init script or by scripts in general. In that case, because trigger is already created, setTriggerActivation seems like the only place (I guess adding a whole new separate function be even more pain than localization). It should also work for already activated triggers.
PS. Never knew Eden has localizations. Never even tried to find out, even though I'm not a native English speaker.
Practically everything in Arma 3 has localization in many languages, this is why adding things to UI requires localization and it is painful process. But we have other UI tasks planned as well so I guess we can add the tickbox
Any solution would suffice if the issue is fixed.
Thank you for a very fast response.
I see no button to close the ticket, so I guess it's up to you.