OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: limmy3 on 24 Sep 2005, 00:08:58

Title: ForceEnd in cutscene Intro
Post by: limmy3 on 24 Sep 2005, 00:08:58
Hi, I am still trying to get my camera script or scene fixed.

When the scene blanks out and the camera destroys the screen is blank in the single mission you heard the noise of guns but the mission won't load.


I tried it with a trigger End#1 which does't work. Or lets say I haven't used the right commands perhaps.  ???

What about ForceEnd?
How can I use that in an Intro with the camera script.
An example for better understanding would help me alot!!  :D

Thank you for your help.  :)
Title: Re:ForceEnd in cutscene Intro
Post by: Kyle Sarnik on 24 Sep 2005, 21:52:24
In order for ForceEnd to work, you need to use it with an end trigger. So, for example:

Code: [Select]
end=true
forceend

And end will activate the end trigger.
Title: Re:ForceEnd in cutscene Intro
Post by: macguba on 24 Sep 2005, 22:15:12
At the end of the camera script:

endIntro=true


Trigger:

Type:  End#1
Condition:   endIntro


You don't need a forceend command.
Title: Re:ForceEnd in cutscene Intro
Post by: limmy3 on 25 Sep 2005, 14:27:50
Thank you macguba that's it.
It works. :D