OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: BrAinOfJ on 07 May 2003, 17:39:30

Title: Question #164...
Post by: BrAinOfJ on 07 May 2003, 17:39:30
Hi guys, i need clarity...
A mission play's like this...
Start; Intro; Game; Outro win/lose. Correct ? (pretty clear i think)
Now, this is where i need clarity. to make a camera scripted intro end, does a unit have to activate a "end" trigger ? If not, im guessing you end it in the camera.sqs file. If thats correct, the tutes im using dont really clarify it, and ill msg the authers and notify them that a n00b like me may struggle with ending the intro.
2nd thing i need clarity on, is the briefing. As im still in the process of studying the tutes, i havent made it for my missions. By placing it in the appropriate folder, the game knows what it is, but when will it show up ?
eg Start; Intro; Briefing ; Game.....
or
Start; Briefing; Intro; Game....
Title: Re:Question #164...
Post by: SimonRussi on 07 May 2003, 17:44:50
1st the answer is yes, you have to trigger an "end" trigger

2nd the briefing shows up after the intro, before starting to play the mission
Title: Re:Question #164...
Post by: BrAinOfJ on 07 May 2003, 18:05:36
Thanks man :)

and to admin: soz for posting in wrong spot :)
Title: Re:Question #164...
Post by: macguba on 07 May 2003, 18:43:20
Start - Intro - Briefing - Mission - Debriefing - End/Loose Outro - End

The Tutorial mission in the Ed Depot does exactly what you are asking -  ends from a little cutscene via a trigger.     The easiest way is to have the cutscene script set a varible to true.    That variable fires your end trigger.

There is also a briefing template for you to copy.

If the tute you've read doesn't make it clear, once you've worked it out add a little Comment to the tute explaining things.