Home   Help Search Login Register  

Author Topic: Ending mission with script?  (Read 540 times)

0 Members and 1 Guest are viewing this topic.

Ilkka

  • Guest
Ending mission with script?
« on: 07 Jan 2003, 15:47:25 »
How can i end mission with script?

Offline Wolfrug

  • Addons Depot
  • Former Staff
  • ****
  • Official OFPEC Old Timer
Re:Ending mission with script?
« Reply #1 on: 07 Jan 2003, 17:08:30 »
well, the absolutely easiest is by making a normal End trigger, and just put something like scriptEnded in the condition field, after which you would at the end of your script put "scriptEnded=true" (without the quotes). That way the end trigger won't activate before the script is completed...

although there is a command, forceEnd which supposedly ends the mission too...last time I checked it didn't work tho, but you can try it out anyway :D

g'luck!

Wolfrug out.
"When 900 years YOU reach, look as good you will not!"

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Ending mission with script?
« Reply #2 on: 07 Jan 2003, 19:54:24 »
Why do you want to do that?

Ilkka

  • Guest
Re:Ending mission with script?
« Reply #3 on: 08 Jan 2003, 07:15:35 »
Well, i have full scripted intro and outros.  ForceEnd command doesn`t work.