Home   Help Search Login Register  

Author Topic: How to end a mission?  (Read 995 times)

0 Members and 1 Guest are viewing this topic.

Chris330

  • Guest
How to end a mission?
« on: 30 Mar 2005, 12:24:35 »
Dear All,

Maybe this is a silly question but I have absolutely no idea how to end a mission. Please could someone tell me how this is done. Thanks in advance ;)

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:How to end a mission?
« Reply #1 on: 30 Mar 2005, 12:37:06 »
if you take a look at your trigger types, there are some called 'end'.

create a trigger, 0 diameter, type 'end'. in the 'conditional' field, put "end_mission" or something similar.

that end_mission is the name of a variable. when it's false, the mission continues, and as soon as it's set to true, the mission ends. if your next question is 'how do i set it to true?' then you really need to get yourself over to the editor's depot and take a look at the beginner's tutorials. it may seem the long way around things, but you'll appreciate it afterwards. i certainly did, and i almost never read the instructions... ;)
« Last Edit: 30 Mar 2005, 12:39:29 by bedges »

Chris330

  • Guest
Re:How to end a mission?
« Reply #2 on: 30 Mar 2005, 12:51:27 »
Thanks for the reply. I am quite an experienced mission editor and can write scripts and all sorts of things. It's just the 'type' part of the trigger I don't understand. I have written a mission which calls an extraction script when two squads are either all dead or all fleeing. I want the mission to end when the helo passes through a trigger.

I have never seen the 'type' part of the trigger menu. I know this might sound dumb but where is is? I assume there is a drop down menu which I can access which sets the type of the trigger? Or do i have to do this in the mission.sqm file ???

Offline 456820

  • Contributing Member
  • **
Re:How to end a mission?
« Reply #3 on: 30 Mar 2005, 12:57:27 »
to make it when the heli passes throught the trigger is simple make a trigger and a waypoint going throught in the trigger put it to west present or group it to the chopper and make it vechile present.
then in the next box put end#1 and leave the condition field as "this"

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:How to end a mission?
« Reply #4 on: 30 Mar 2005, 13:09:26 »
see attached pic...

if you're not seeing it, perhaps you have the editor set to 'easy'? just click the 'easy' at top right to switch to 'advanced' - i was designing for the first 2 weeks without realising i was missing a whole slew of extra functions...  :-\
« Last Edit: 30 Mar 2005, 13:11:16 by bedges »

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:How to end a mission?
« Reply #5 on: 30 Mar 2005, 13:14:33 »
I assume there is a drop down menu which I can access which sets the type of the trigger? Or do i have to do this in the mission.sqm file ???

Yes there is a drop down menu. Hit F3 and select the trigger you want to modify. Then (on the left side of the trigger menue, aprox. in the middle) you can chose trigger type. Select one of the endtriggers. There are six different ones in case your mission has alternare endings.

BTW, are you running your editor in EASY mode? Change it to ADVANCED. Then you'll get access to more options when editing. You change from EASY to ADVANCED by clicking on the highlighted word EASY.

EDIT: Beaten by Bedges with 5 minutes while typing. I'm getting old, slow and dimwitted. Maybe it's time for a career change  :P
« Last Edit: 30 Mar 2005, 13:16:08 by nominesine »
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Chris330

  • Guest
Re:How to end a mission?
« Reply #6 on: 30 Mar 2005, 13:48:45 »
Great indeed!! :D Well done chaps thanks a bundle ;) 8)