OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Echo5Hotel on 23 Jan 2003, 19:15:43
-
Hey all,
I'm catching on to this mission editing thing pretty quickly. I have been able to set up some triggers for insertions and extractions via PBR and some triggers to give the player/s some surprises but how do I set something to be an objective? Maybe it would be simpler if I explain;
Its a recon mission where the player/s only need to locate some AA assetts of the enemy, not engage them. So how do I creat an objective that is met when the player/s spot the assett? There are 3 SAMS that they have to find and then the ending objective would be of course to get out alive. I'm pretty sure I know how to do the get out alive objective but I cannot find what commands I should use to make an objective for just spotting the item.
Can anyone enlighten me? Any help would be much appreciated.
Echo5Hotel
-
OK, if you know how to make a breifing than hereÂ's the explanation:
Create a trigger and make it axis A gigantical and axis B gigantical.
The three AA soldiers that u want to spot have to be grouped with tha gigantic trigger.
To activate the trigger press "detected by west" and your trigger is activated, then put in the normal obj_status blah blah in on activation
If you donÂ't know how to make breifings, tell me, cause then it will not work.
EDIT:
Oh, by the way, since youÂ're only been registred for three days:
WELCOME TO THE OFPEC FORUM
-
you can create a trigger and put this on the condition line
player knowsabout enemyunit1 > 2 && player knowsabout enemyunit2 > 2 && player knowsabout enemyunit3 > 2
then put this in the onactivation line
found = true;"1" objstatus "done";
then make a trigger when you want the player to finish the mission and press F2 and drag a line from the trigger to the player, and put this in its condition line
this && found
-
Hey there Echo5Hotel!
Welcome to the Forums! :beat:
To expand on Real Armstrongs' response a little bit..
If you want a tool that makes briefings, head on over to the editor's depot (link at top of webpage) and there are a few tools out that make good enough briefings.
Then, once you make a trigger like R.A. described above, you would put something like:
"1" objstatus "Done"
Where 1 is the objective number that you have to designate in the briefing...
;)
Let us know if you need more help! ;D
-
isnÂ't it obj_status with a "_"?
-
nope! :moon:
I verified it in a working mission of mine. ;) :P (I forgot exactly what it was at first too) ;D
P.S. Unless you're talkinb about in the code for the briefing, then it is like this:
<! **** Objective 1 **** >
<p><a name = "OBJ_1"></a>
NATO Repair Base
</p><hr>
-
Thank you for the assistance. Unfortunately I am at work and wont be able to test any of it out till I get home later.
Echo5Hotel