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)