noricum 10 Posted May 24, 2017 Hello, since the latest update, my trigger wont fire anymore in mp environment and i can't figure out why, maybe someone can help me here. _cond = "{vehicle _x in thisList && isplayer _x && ((getPosATL _x) select 2) < 15} count playableunits > 0"; _trg1 = createTrigger ["EmptyDetector", getPos helotarget2, true]; sleep 1; _trg1 setTriggerActivation ["ANYPLAYER", "PRESENT", false]; _trg1 setTriggerArea [300,300, 0, false]; _trg1 setTriggerType "NONE"; _trg1 setTriggerStatements [_cond,"nul = [helotarget2] execVM ""scripts\Paras.sqf""; ",""]; Any help is appreciated Share this post Link to post Share on other sites
lukio 18 Posted May 24, 2017 I'd recheck the triggerStatement and add a systemChat message or alternatively diag log, to make sure it's the trigger that does not fire and nothing related to the script. 1 Share this post Link to post Share on other sites
noricum 10 Posted May 26, 2017 Thank you for your help! Tried different triggers, now i can't get even a simple trigger to work. _trgtest = createTrigger ["EmptyDetector", getPosATL prototype]; sleep 1; systemchat "trigger created"; _trgtest setTriggerActivation ["WEST", "PRESENT", true]; systemchat "trigger activation"; _trgtest setTriggerArea [300,300, 0, false]; systemchat "trigger area"; _trgtest setTriggerType "NONE"; systemchat "trigger type"; _trgtest setTriggerStatements ["this", "hint 'trigger on'", "hint 'trigger off'"]; systemchat "trigger condition"; Share this post Link to post Share on other sites
pierremgi 4736 Posted May 26, 2017 That works for me! Restart Arma. Check your files. Btw, {vehicle _x in thislist} count allPlayers > 0 will return true for player on foot or in vehicle. Share this post Link to post Share on other sites
noricum 10 Posted May 27, 2017 thanks for the tip, validated steam files and restarted arma. triggers seem to be working again. At least the _trgtest fired, hope it works on dedicated Server too again. Share this post Link to post Share on other sites