Jump to content
Sign in to follow this  
icfhoop

Objective

Recommended Posts

Ok hello. I was wondering because im am a total noob when it comes to scripting. So i am making a map with one single objective. That objective is to kill a commander. Once the commander is dead how would i end the mission as BLUFOR won?

Thank you.

Share this post


Link to post
Share on other sites

Thanks for the help it worked well. Another question i dint know why but ive done it before (been a while) but my briefing will not show up in my map. It is called briefing and is a html file but it wont work.

Here it is.

<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

<!--------------------------------------------------------->

<!-- Briefing file for Armed Assault -->

<!-- Created with ArmA Edit - Version 1.2.1000 -->

<!-- -->

<!-- DO NOT edit this file manually to guarantee it can -->

<!-- be re-opened by the Briefing Wizard. Click the -->

<!-- "Edit Briefing" button on the toolbar to edit. -->

<!--------------------------------------------------------->

</head>

<body>

<!-- [bRIEFING_WIZARD_30] -->

<!---------------------------------------------------->

<!-- Plans -->

<!---------------------------------------------------->

<p><a name="plan"></a>

<!-- [PLAN] -->

Nigeria, 2009. The newly elected president of Nigeria has been assasinated. Sahid Yussef Mohammad is believed to be the mastermind behind this. Now that the president is out of the way he has began to wipe out any who opposes him. Your Green Berets have been sent in with one objective. To kill the mother fucker.

<!-- [END] -->

</p><hr>

<!---------------------------------------------------->

<!-- Notes (in handwriting) -->

<!---------------------------------------------------->

<h6><a name="main"></a>

<!-- [NOTES] -->

Leave no fucking enemy out of the fun.

<!-- [END] -->

</h6><hr>

<!---------------------------------------------------->

<!-- Objectives -->

<!---------------------------------------------------->

<!-- Objective 1 -->

<p><a name="obj_1"></a>

<!-- [OBJ_1] -->

Kill the Warlord Sahid.

<!-- [END] -->

</p><hr>

<!---------------------------------------------------->

<!-- Debriefing -->

<!---------------------------------------------------->

</body>

</html>

Thank you.

Share this post


Link to post
Share on other sites

I tested and your briefing works fine. smile_o.gif

Make sure the briefing.html is in right mission folder and it really has .html extension. (In Windows Explorer uncheck Tools > Folder Options > View > Hide extensions for known file types.)

Share this post


Link to post
Share on other sites

Thanks again guys, got it working because of your guy's help really appreciate it. biggrin_o.gif

Share this post


Link to post
Share on other sites

I hate to necropost this but what if lets say i wanted multiple guys or objects dead in my case, lets say plane1,plane2, how would i set it up so that i could use !(alive plane) would i just have to repeat that command in the same line?

Share this post


Link to post
Share on other sites

I have also a question for objective.

Where do you initialize your objective ?

I have some hiddens objectives, and i don't want them to appear in the briefing. ( rofl.gif )

I've searched on the biki but there is no informations where you initialize the objective's status before the player reach the briefing ?

I've tried init.sqs but that change nothing :/

Edit : or maybe it is bugged when you are trying to see the briefing through the editor ?

Share this post


Link to post
Share on other sites

I know i've done it.. but when i am using shift key to get a preview of my briefing the objective are still appearing.

It doesn't work in the editor preview mode ?

Edit : I got the problem, it was the example i've copied/pasted. The name of the objective was not "1" but "01" etc.. crazy_o.gif

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  

×