Page MenuHomeFeedback Tracker

Triggers created with createTrigger automatically trigger/activate. (1.72.142223)
New, NormalPublic

Description

Using the script command creates a trigger that activates without conditions or any other input. It can be prevented by using the setTriggerStatements command, although this wasn't needed in earlier versions.

Details

Severity
Minor
Resolution
Open
Reproducibility
Always
Operating System
Windows 8 x64
Category
Scripting
Steps To Reproduce

Place into debug console and watch bar, then exec:

trigger = createTrigger ["EmptyDetector", getPos player, false];
triggerActivated trigger

ESC/Resume game.

Few second wait.

ESC/Pause Game.

Additional Information

And this creates a trigger that doesn't activate on its own:

trigger = createTrigger ["EmptyDetector", getPos player, false];
trigger setTriggerStatements ["this", "", ""];

Event Timeline

Firstborn created this task.Jul 2 2017, 3:25 PM