Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: LLEWELLYN on 26 Jul 2004, 20:18:03
Title: Help with Objectives
Post by: LLEWELLYN on 26 Jul 2004, 20:18:03
If there is anyone that could please help understand on how to set up objectives in a mission it would be most appreciated. I have the OFP editor which helps set up the intial briefing etc but how do i create the objectives in game, i have searched most of the forum but als i cant make head or tail of most of it( I am a raw recruit to OFP)
There does not seem to be any tutorials for an idot like myself
PLease any help would be much apprecaited
Title: Re:Help with Objectives
Post by: macguba on 26 Jul 2004, 20:33:12
You're not the first: one of the tricky things about getting started in mission editing is the question of Objectives.
Conceptually, Objectives are associated with triggers. Triggers detect when something happens and then "trigger" the consequences. With an Objective, the consequence is usually a green tick on the Plan page of the Briefing and possibly the end of the mission.
But what is the trigger detecting? Well whatever you like. A particular unit(s) being not alive; the player being in a particular place; whatever you like really.
For the technical aspects read snYpir's "How to use Objectives and init.sqs".
I wrote something about this the other day ... wait ... read this. (http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=18563;start=0)
Title: Re:Help with Objectives
Post by: Gooner861 on 26 Jul 2004, 21:34:41
Hi there,
Another useful tool if u dnt have it already is a program called Chris's OFP script editor, search for it in the editors depot.
It easily creates briefings and overviews + u can put ur objectives in it to, although u will need to know the coding to get them to get work. Not very hard though.
Need any more help just ask, i had problems with this at first but its easy once u know how so im willing to help you.
Gooner
Title: Re:Help with Objectives
Post by: ocnick on 27 Jul 2004, 01:14:36
Basically, you make objectives in the briefing to use them in the game.
<p><a name="OBJ_0"></a>Clear the Post.</p>
This is just an example from one of my briefings, located in the "Plan" section.
Then if I wanted the objective to be completed when the base is clear, I'd put this in the "On Activation" field of the trigger:
"0" objstatus "done"
Vualah.
(By the way, this is my first feedback on the forums ;D)
Title: Re:Help with Objectives
Post by: macguba on 27 Jul 2004, 09:50:33
Ah ha! We've sucked in another one. 8)
Welcome, Blunt, to the shady world of "the answerers". Your membership pack is in the post: remember to delouse the cat before sacrificing it. ;D
Title: Re:Help with Objectives
Post by: Tomb on 27 Jul 2004, 17:35:25