Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Question about an objective  (Read 993 times)

0 Members and 1 Guest are viewing this topic.

Echo5Hotel

  • Guest
Question about an objective
« 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  

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Question about an objective
« Reply #1 on: 23 Jan 2003, 20:36:51 »
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
« Last Edit: 23 Jan 2003, 20:37:56 by The real Armstrong »

Offline Black_Feather

  • Former Staff
  • ****
  • I'll never forget you Daisey.
Re:Question about an objective
« Reply #2 on: 23 Jan 2003, 20:47:51 »
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

asmodeus

  • Guest
Re:Question about an objective
« Reply #3 on: 23 Jan 2003, 20:50:56 »
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

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Question about an objective
« Reply #4 on: 23 Jan 2003, 21:27:26 »
isnÂ't it obj_status with a "_"?

asmodeus

  • Guest
Re:Question about an objective
« Reply #5 on: 23 Jan 2003, 21:30:40 »
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:

Code: [Select]
<! **** Objective 1 **** >
<p><a name = "OBJ_1"></a>
NATO Repair Base
</p><hr>
« Last Edit: 23 Jan 2003, 21:32:39 by Asmodeus »

Echo5Hotel

  • Guest
Re:Question about an objective
« Reply #6 on: 24 Jan 2003, 01:16:06 »
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