OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 10 Jul 2004, 20:26:19

Title: Why aint this outro ending?
Post by: Gooner861 on 10 Jul 2004, 20:26:19
Hi all

I have an outro that ends like this:

titlecut ["","BLACK IN",9999]
@camCommitted _camera
~10

_camera cameraeffect ["terminate", "back"]
camdestroy _camera

exit

but it does not seem to want to end, it just flicks back to the screen showing trucks etc. The titlecut is 9999 because i wanted the screen to stay black.

Cheers

Gooner
Title: Re:Why aint this outro ending?
Post by: Zombie on 11 Jul 2004, 11:27:57
try adding a global trigger, type: end1 ,condition: outroend   on activation:  forceend  and mod your script:
titlecut ["","BLACK IN",9999]
@camCommitted _camera
~10

_camera cameraeffect ["terminate", "back"]
camdestroy _camera
outroend=true
exit
Title: Re:Why aint this outro ending?
Post by: MuSe on 12 Jul 2004, 12:56:55
yes, like zombie said there MUST be a trigger which has type as end1 and give it a condition too. Says a guy who doesnt know how to make cutscenes. :P