Home   Help Search Login Register  

Author Topic: Cam won't close!  (Read 702 times)

0 Members and 1 Guest are viewing this topic.

B-2-0

  • Guest
Cam won't close!
« 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

B-2-0

  • Guest
Re:Cam won't close!
« Reply #1 on: 26 Apr 2003, 20:16:07 »
Anyone....? :'(

jojojoni

  • Guest
Re:Cam won't close!
« Reply #2 on: 26 Apr 2003, 20:30:53 »
Make sure that youÂ've made an object named AmmoRes1 ::).
« Last Edit: 26 Apr 2003, 20:31:30 by Jo-Jo-Joni »

B-2-0

  • Guest
Re:Cam won't close!
« Reply #3 on: 27 Apr 2003, 01:36:17 »
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! ???

Offline Killswitch

  • Members
  • *
  • Peace, cheese and ArmA
Re:Cam won't close!
« Reply #4 on: 27 Apr 2003, 04:32:11 »
A wild guess here...you have this at the end:

Code: [Select]
@camcommitted_cam
Should be

Code: [Select]
@camcommitted _cam
(see the space there?)


B-2-0

  • Guest
Re:Cam won't close!
« Reply #5 on: 27 Apr 2003, 05:27:46 »
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: