Home   Help Search Login Register  

Author Topic: Making a script end a mission  (Read 710 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