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: About Trigger Activation  (Read 1613 times)

0 Members and 1 Guest are viewing this topic.

Offline Elzo

  • Members
  • *
About Trigger Activation
« on: 13 Oct 2007, 08:22:52 »
Hi!
Here's my problem:

I can't activate trigger ''1'' objstatus ''done''. It says: -Invalid number of expression- or something like that. Im sorry about my worse english  :D I'm just trying to do briefings but in mission editor Trigger wont activate when I type that code On Activation  ???. Help please!

Offline schuler

  • Contributing Member
  • **
Re: About Trigger Activation
« Reply #1 on: 13 Oct 2007, 13:25:30 »
First you need the trigger to be activated by east not present or something to that affect. i hope your that far.
You should download this Chris' OFP Script Editor on this page http://www.ofpec.com/ed_depot/index.php?action=list&game=OFP&type=to&cat=xyz
 or look in Editors depot for a tute on mission making.
its kinda hard to explain and you could just be doing one little thing wrong, so i added the below

"1" objStatus "DONE"; hint "You have a new objective.  \n\nCall for evac."  Or something like that,  the “hint” makes that ding sound you here when the objective is done. After hint you can right “Good job soldier!” or what ever, that pops up in the left top corner. Now in you’re your briefing you should have something like this
 <!-- Objective 1 -->
<p><a name="obj_1"></a>
<!-- [OBJ_1] -->
Clear town
The part that says “Clear town” is the objective. Witch is obj_1 .

someone will add to this post iam sure and help u out better then me ;)
and  :welcome: to the forums, cheers Schuler


« Last Edit: 13 Oct 2007, 13:27:02 by schuler »
Semper Fi

Offline Elzo

  • Members
  • *
Re: About Trigger Activation
« Reply #2 on: 13 Oct 2007, 14:14:22 »
Thanks! I got Chris' OFP Script Editor and i've red help contents. But it just won't work. I'm quite an amateur but I appreciate your help  :) So thank you! And thanks for welcomings :) I'll keep trying.

Offline schuler

  • Contributing Member
  • **
Re: About Trigger Activation
« Reply #3 on: 13 Oct 2007, 14:17:06 »
with Chris' OFP Script Editor it can do briefings for you look at the top, play around and you'll get it  ;)
Semper Fi

Offline Elzo

  • Members
  • *
Re: About Trigger Activation
« Reply #4 on: 13 Oct 2007, 14:25:40 »
Ok. Now it looks like something like this with editor:

<!---------------------------------------------------->
<!-- Objectives                                     -->
<!---------------------------------------------------->
<!-- Objective 1 -->
<p><a name="obj_1"></a>
<!-- [OBJ_1] -->
Torju läpimurto yritys
<!-- [END] -->
</p><hr>

<!-- Objective 2 -->
<p><a name="obj_2"></a>
<!-- [OBJ_2] -->
Tapa kaikki viholliset ensimmäisestä aallosta
<!-- [END] -->
</p><hr>

<!---------------------------------------------------->
<!-- Debriefing                                     -->
<!---------------------------------------------------->
<!-- End #1 -->
<h2><a name="debriefing:end1"></a><br>
<!-- [TITLE_1] -->
Läpimurtoyritys estetty!
<!-- [END] -->
</h2><br><p>
<!-- [TEXT_1] -->
Hienoa työtä! Er.P 28 jää historiaan!
<!-- [END] -->
</p><br><hr>

</body>
</html>

Offline schuler

  • Contributing Member
  • **
Re: About Trigger Activation
« Reply #5 on: 13 Oct 2007, 14:49:38 »
thats it, now just set your trigger right ad this and same with next trigger  :good:
"1" objStatus "DONE"; hint "You have a new objective.  \n\nTapa kaikki viholliset ensimmäisestä aallosta"
Semper Fi

Offline Elzo

  • Members
  • *
Re: About Trigger Activation
« Reply #6 on: 13 Oct 2007, 15:03:44 »
Thank You  :)