Jump to content
Sign in to follow this  
evans d [16aa]

Briefing not working: Where am I going wrong?

Recommended Posts

Right, I've done searches, I've directly copied and pasted bits of code but it's still not working.

Here's the inilization script:

//Begin "init.sqf"

//Add briefing ("briefing.sqf")
execVM "briefing.sqf";

getMyLaserTarget = compile (preprocessFileLineNumbers "func_getMyLaserTarget.sqf");
sleep 0.1;

if(true) exitWith ();

And here is the briefing script:

player createDiaryRecord["Diary", ["NOTE_NAME", "NOTE_TEXT",""]];



//Objective 1

tskobj_1 = player createSimpleTask["OBJECTIVE_NAME"];
tskobj_1 setSimpleTaskDescription ["OBJECTIVE_MESSAGE", "OBJECTIVE_NAME", "OBJECTIVE_HUD_TITLE"];

Thanks guys, I appreciate the effort you all go to to answer this simple question.

If it changes anything, this is for a single player mission.

Share this post


Link to post
Share on other sites

Put this in the first line of briefing.sqf:

waituntil {!isnull player};

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
Sign in to follow this  

×