OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: B-2-0 on 25 Apr 2003, 05:06:06
-
Ok, i have set up a cutscene.....now, when i use this script...
------------------------------------------------------
titlecut ["Get to Abbeyfield and meet with the resistance", "black in", 6]
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
_cam camsettarget Res26
_cam camsetrelpos [ 30, 110, 16]
_cam camcommit 16
@camcommitted _cam
~6
_cam cameraeffect ["terminate", "back"]
camdestroy _cam
exit
-----------------------------------------------------
....It works fine and closes at the end ;D
But when i add the part of the script which makes the cam move from the first target to another.....
-----------------------------------------------------
titlecut ["Get to Abbeyfield and meet with the resistance", "black in", 6]
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
_cam camsettarget Res26
_cam camsetrelpos [ 30, 110, 16]
_cam camcommit 16
@camcommitted _cam
~6
_cam camsettarget AmmoRes1
_cam camsetrelpos [ 0, 7, 1]
_cam camcommit 5
@camcommitted_cam
~4
_cam cameraeffect ["terminate", "back"]
camdestroy _cam
exit
-------------------------------------------------
(The bold highlighting the added bit)
........ it works fine but just won't close and i have no idea why ??? What else do i need to insert and a small explanation why would be very much aprieciated ;D
-
Anyone....? :'(
-
Make sure that youÂ've made an object named AmmoRes1 ::).
-
Yeah i have AmmoRes1...the cam will focus where i want it to it just won't revert back to play....thing is if i just focus on the first object it closes fine but when i include the part where it pans to the ammo crate it works but won't close! ???
-
A wild guess here...you have this at the end:
@camcommitted_cam
Should be
@camcommitted _cam
(see the space there?)
-
Killswitch!!! Dude!!! U are the man!!!
I had to look twice to see the space on your post but that was the prob mate ;D
Thanx loads :thumbsup: :cheers: