Jump to content
Sign in to follow this  
HeavyIsBabies

Help with a briefing.

Recommended Posts

I've been having some difficulties with creating a mission briefing. My mission folder currently consists of a briefing.sqf I made with a program, an init.sqf, the mission pbo file, and a mission.sqm. Whenever I try to start the mission(in multiplayer or singleplayer) the briefing doesn't show up, and I've been trying to figure out why for a few days now. If anyone can help me out, it'd be appreciated.

The briefing.sqf

// A2BM C     110
// DO NOT EDIT THIS FILE

waitUntil {!(isNull player)};
waitUntil {player==player};
switch (side player) do
{
case WEST:
{
};
case EAST:
{
};
case RESISTANCE:
{
};
case CIVILIAN:
{
player createDiaryRecord ["Diary",["Briefing","We've been roped in to escort some Russian diplomat, guy by the name of Aloshya Molotov. He's due to meet a Chernorussian politician in the town of Chernogorsk, to smooth over the relationship between Russia and Chernarus since the bombings back in July.<br/><br/>We cannot afford to fuck this up. The whole company has been hanging on by a thread since we lost that bank executive last year. If we screw up again, finding clients is gonna go from being hard, to impossible."]];
MAG_tskObj1=player createSimpleTask ["Return To The Airfield"];
MAG_tskObj1 setSimpleTaskDescription ["Return to the airfield with the VIP.","Return To The Airfield","Return To The Airfield"];
MAG_tskObj0=player createSimpleTask ["Escort the VIP"];
MAG_tskObj0 setSimpleTaskDescription ["Bring the VIP to his meeting in Chernogorsk.","Escort the VIP","Escort the VIP"];
};
};

The init.sqf

execVM "briefing.sqf";

Share this post


Link to post
Share on other sites

The briefing show up perfectly! In your case you must be a civilian to see briefing!

Share this post


Link to post
Share on other sites

i tested it and The briefing show up perfectly !

you can see task's but if u meant show u destination on map, need to add some more code about destination.

and did u put 2 marker's on map?

for:

MAG_tskObj1 setSimpleTaskDescription ["Return to the airfield with the VIP.","Return To The Airfield","Return To The Airfield"];

MAG_tskObj0=player createSimpleTask ["Escort the VIP"];

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  

×