Jump to content
Bernd Geischer

Mission "Flashpoint" by ThomsonB

Recommended Posts

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

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

I wasn't directly replying to you but rather referencing to the script you posted 😁 I used it in conjunction with my solution

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×