Page MenuHomeFeedback Tracker

createTrigger command not receiving third arguement
Closed, ResolvedPublic

Description

When using the 'createTrigger command the third arguement 'makeGlobal' is not passed to the command, as only two elements are expected. This produces a script error.

Reference the 'Alternate Syntax' section at https://community.bistudio.com/wiki/createTrigger

(Arma 3 version 1.43 -- not currently availble for selection on the feedback tracker)

Details

Legacy ID
86563743
Severity
None
Resolution
No Bug
Reproducibility
Always
Category
Scripting
Steps To Reproduce

1.Create and save a mission in the editor
2.Create a script file with the following contents

"_trg = createTrigger ["EmptyDetector",(getpos player),false];"

3.Run the mission
4.Launch the script
5.Observe the script error notification

(Arma 3 must be launched with -showScriptErrors parameter)

Additional Information

-

Event Timeline

Bohemia edited Steps To Reproduce. (Show Details)Apr 16 2015, 3:12 AM
Bohemia edited Additional Information. (Show Details)
Bohemia set Category to Scripting.
Bohemia set Reproducibility to Always.
Bohemia set Severity to None.
Bohemia set Resolution to No Bug.
Bohemia set Legacy ID to 86563743.May 8 2016, 11:57 AM

current stable is 1.42. you can try new trigger syntax by switching to dev verson, it takes only a minute.