OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 1stJemHadar on 27 Aug 2002, 12:44:28

Title: Intro, how to end the script propperly?
Post by: 1stJemHadar on 27 Aug 2002, 12:44:28
Hi everyone.
I'm back with yet another question. I've made a intro movie to a mission. Now, I've used the "Intro" feature in OFP, so the map editor is set to "Intro" and not "Mission". Anyway, I've ended my script with the usual "EXIT". When I start the mission, the intro starts, and it works perfectly. However, when it ends, the camera focuses on the player character, and then it freezes there, i.e the mission doesn't begin. What I have to do is hit "ESC" and then the mission begins. So what I need it the end Intro command, to put in the script.

Thanks in advance :)
Title: Re:Intro, how to end the script propperly?
Post by: KTottE on 27 Aug 2002, 12:46:43
Exit doesn't work with camscripts I'm afraid.
And since it's in the Intro mode you need a trigger with an "End#1" thing in it.

At the end of your script, put:

EndIntro=true

In your mission, place a trigger.
Activated by: Anyone
Condition: EndIntro
Type: End#1

That should do it.
Title: Re:Intro, how to end the script propperly?
Post by: 1stJemHadar on 27 Aug 2002, 17:32:12
Great, thanks. It worked perfectly!!