OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mercenary on 26 Aug 2002, 00:26:35

Title: Camera won't move...
Post by: Mercenary on 26 Aug 2002, 00:26:35
Code: [Select]
hint "Executed"
setaccTime 1.0
_camera = "camera" camCreate [9686.67,3831.12,-99999.95]
titlecut ["","Black in",2]
~2

; Lets have no sound
0.0 fadeSound 0.0

; Slow Mo
setaccTime .10

@accTime == .10

;=== 16:51:27
_camera camSetTarget [9686.67,3831.12,-99999.95]
_camera camSetPos [9692.39,3840.81,0.05]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera

;=== 16:51:40
_camera camSetTarget [-39875.28,-80115.27,22263.98]
_camera camSetPos [9692.39,3840.81,0.05]
_camera camSetFOV 0.700
_camera camCommit 10
@camCommitted _camera

2 fadeSound 1

hint "Done"


How can I be inside the camera?  I made a camera and it seems to work/move because it pops up done in like 10 seconds (sorry I am a newbie to all this).
Title: Re:Camera won't move...
Post by: seanver on 26 Aug 2002, 01:32:10
Add this line:
_camera cameraeffect ["internal", "back"]

below this line:

_camera = "camera" camCreate [9686.67,3831.12,-99999.95]
Title: Re:Camera won't move...
Post by: Mercenary on 26 Aug 2002, 01:46:58
Thanks a million!
Title: Re:Camera won't move...
Post by: Black_Feather on 26 Aug 2002, 03:44:44
Can you use the problem solved button in the future Mercenary, its next to the quote button.