Bernd Geischer 0 Posted October 9, 2024 Is anyone still interested in ThomsonB's Flashpoint-Mission? I'm trying to define some more objects (tasks), called by the intial script "objective.sqf". Idea is to call another skript by using the initial variable "end_mission=true;" I don't get even to the point where my next sctript is called. This is the call: if (end_mission) then {[] execVM "obj_EndMission.sqf";}; // Check of the variable "end_mission"=true" for calling the next script. And that is the next skript: hint "Objective completet!"; sleep 1; _endTrig = createTrigger ["EmptyDetector",_pos]; _endTrig setTriggerTimeout [10,10,10,true]; _endTrig setTriggerStatements ["end_mission","",""]; _endTrig setTriggerType "END1"; Thanx for help Share this post Link to post Share on other sites
Kosmo_ 46 Posted October 20, 2024 Hello, do you have -showScriptErrors in your game launch settings? Very useful for finding errors in scripts. @dalber24 post above and Quote if (end_mission) then {execVM "obj_EndMission.sqf";}; should work. Here is an attachment of the mission I used for testing: https://drive.google.com/drive/folders/1ZueIZ6QB7EfgghwYxMYSJJp0MxPQmIlH?usp=sharing Share this post Link to post Share on other sites
Kosmo_ 46 Posted October 22, 2024 I wasn't directly replying to you but rather referencing to the script you posted 😁 I used it in conjunction with my solution 1 Share this post Link to post Share on other sites