Home   Help Search Login Register  

Author Topic: the age old problem - endings  (Read 685 times)

0 Members and 1 Guest are viewing this topic.

bored_onion

  • Guest
the age old problem - endings
« on: 26 Aug 2004, 18:46:46 »
im sure everyone has at some point encountered a problem with ending a mission

remember this:
END DAMN YOU BEFORE I PUT MY FIST THROUGH THE SCREEN!

or this:
WHY DONT YOU END YOU STUPID MISSION IM SORRY I EVER CREATED YOU!
?

well then youve come to the right thread....

is it a common problem to not be able to end a mission when a camera script is running - this is a problem i have experienced about three times now and im sure there is a solution but once anyone has thought up an answer to this, i think it would be good to have a thread that catalogued everyone's ending troubles AND solutions to help anybody who finds themselves in this ghastly situation

post your end troubles and solutions here and save many people from the baldness resultant from tearing your hair out after hours of trying to get a mission to end!!

thanks


Offline Blanco

  • Former Staff
  • ****
Re:the age old problem - endings
« Reply #1 on: 26 Aug 2004, 18:53:19 »
Strange, I never had a problem with it.

Just place an end trigger with a bolean in the condition :

eg :
Code: [Select]
CONDITION : ENDmymission

At the end of your camscript set the bolean TRUE

Code: [Select]
ENDmymission = true

...and the mission will end.




Search or search or search before you ask.

bored_onion

  • Guest
Re:the age old problem - endings
« Reply #2 on: 26 Aug 2004, 20:07:56 »
ok guys does anyone else have any problems with endings - i dont want the thread to die here
 :D

Gooner861

  • Guest
Re:the age old problem - endings
« Reply #3 on: 26 Aug 2004, 22:08:34 »
Lol soz but i think Blanco's pretty much given the easiest way to do it  ;D .

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:the age old problem - endings
« Reply #4 on: 27 Aug 2004, 11:00:22 »
A couple of things to bear in mind:
  • The mission will not end unless all cameras have been terminated. eg:
    cam cameraeffect ["terminate","back"]
    camdestroy cam

  • The end trigger will not fire unless all triggers set to the same end type are also activated.

    So, if you had two triggers set to end#1, both would have to be activated before the mission ends. Sometimes an extra trigger can sneak it's way into a mission, causing problems. It's happened to me a couple of times ;)
So, check your camera scripts for terminations/camdestroys, and make sure you've only got one end trigger set on that specific type of ending...

bored_onion

  • Guest
Re:the age old problem - endings
« Reply #5 on: 27 Aug 2004, 15:08:27 »
good tips guys, i will bear them in mind

Uldics

  • Guest
Re:the age old problem - endings
« Reply #6 on: 20 Sep 2004, 17:16:31 »
Ok, for the thread not to die, a new question. How do you make the mission transfer all the units to the outro, to show, for example the players base being invaded by enemy troops?

It is simple enough with the Intro, there everybody stands where they are placed. But in outro, you never know, where the troops are, so ctrl-c ctr-v doesn't help.