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.
Description
Description
Details
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", "", ""];