OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: The-Architect on 01 Apr 2004, 20:22:22
-
I have this script for an intro to my mission but it won't end.
Here's the script,
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "front"]
_cam camsettarget camper2
_cam camsetrelpos [0,10,2]
_cam camcommit 0
titlecut [" ","BLACK IN",10]
~2
_cam camsetrelpos [0,1,1.5]
_cam camcommit 5
@camcommitted _cam
~1
playsound "made"
~9
_cam camsettarget radio
_cam camsetrelpos [0,-1,0.5]
_cam camcommit 0
@camcommitted _cam
playsound "read"
~33
_cam camsettarget mid
_cam camsetrelpos [0,20,0.5]
_cam camcommit 0
@camcommitted _cam
~35
_cam camsettarget tank
_cam camsetrelpos [0,-25,10]
_cam camcommit 0
@camcommitted _cam
~9
_cam camsettarget victor
_cam camsetrelpos [0,-5,0.5]
_cam camcommit 0
@camcommitted _cam
~9
titlecut [" ","black out",2]
~5
_cam camsettarget tg
_cam camsetrelpos [0,-30,10]
_cam camcommit 0
@camcommitted _cam
titlecut ["The next day.","BLACK IN",2]
~5
playsound "speech"
_cam camsetrelpos [0,-20,5]
_cam camcommit 5
@camcommitted _cam
~4
_cam camsettarget asse
_cam camsetrelpos [0,5,1.5]
_cam camcommit 0
@camcommitted _cam
~4
_cam camsettarget asse1
_cam camsetrelpos [0,5,1.5]
_cam camcommit 15
@camcommitted _cam
~10
titlecut ["O P E R A T I O N F R E E D O M","black out",2]
~5
4 Fadesound 0
4 fademusic 0
~4
endcut = true
_cam cameraeffect ["terminate", "back"]
camdestroy _cam
exit
I can't figure it out. ???
-
Oh sugar, wrong place. Please move me to Editing/scripting or advanced. ::)
-
_cam cameraeffect ["terminate", "back"]
Hmmmm.........Is there a "terminate", option with the cameraeffect command.
I thought there was only internal.......external........fixed........or fixedwithzoom.
Planck
-
I don't know. I've been using this as a template for ages, just changing what I need to. I often have problems with it but usually its for a mission I don't want to release.
Which should I use then instead of "terminate"?
-
Try them one at a time...see which one works best for you......I imagine external might be right.
Planck