icfhoop 0 Posted October 6, 2007 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
rok 0 Posted October 6, 2007 Create a new trigger. Type: END #1 Condition: !(alive commandersName) On Act.: "1" objStatus "DONE" Add objective to briefings: http://www.flashpoint1985.com/docs/briefing.html Info on objStatus command: http://community.bistudio.com/wiki/objStatus Share this post Link to post Share on other sites
icfhoop 0 Posted October 7, 2007 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
the unknown 0 Posted October 7, 2007 Try takeing out all the stuff between <html> and <body> But leave the named tings in. Share this post Link to post Share on other sites
rok 0 Posted October 7, 2007 I tested and your briefing works fine. 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
icfhoop 0 Posted October 7, 2007 Thanks again guys, got it working because of your guy's help really appreciate it. Share this post Link to post Share on other sites
rabbity 0 Posted December 19, 2007 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
mr_centipede 31 Posted December 20, 2007 i believe you have to write like this: !(alive plane1) and !(alive plane2) and etc Share this post Link to post Share on other sites
Misfit Leader 1 Posted February 23, 2008 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. ( ) 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
Heatseeker 0 Posted February 23, 2008 http://community.bistudio.com/wiki/objStatus. //Objstatus "1" objstatus "hidden"; "2" objstatus "active"; "3" objstatus "done"; "4" objstatus "failed"; Paste in your init.sqf file the objectives you want to hide:) . Share this post Link to post Share on other sites
Misfit Leader 1 Posted February 23, 2008 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.. Share this post Link to post Share on other sites