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: Making a script end a mission  (Read 872 times)

0 Members and 1 Guest are viewing this topic.

OFP Guy

  • Guest
Making a script end a mission
« on: 20 Mar 2003, 04:11:07 »
How do you make a script end a mission? Do you use triggers? Could someone please tell me how to?

All answers are appreciated!

Offline mcnorth

  • Members
  • *
Re:Making a script end a mission
« Reply #1 on: 20 Mar 2003, 05:15:22 »
Couldn't you set a variable to true in your script and have a trigger with the condition being the variable and the rest of the ending as usual in the trigger?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Making a script end a mission
« Reply #2 on: 20 Mar 2003, 09:18:17 »
mcnorth is absolutely spot on.    Here's an example of what he means.

script:-

blah blah blah
endmission=true


trigger:-

type:  End#1
condition:  endmission
Plenty of reviewed ArmA missions for you to play