Jump to content
Sign in to follow this  
Black Hawk

Intro with chopper troubles

Recommended Posts

When my guys eject i want the camera to focus on them and not the crashing helicopter. Is there a way of doing this simply

(Edited by Black Hawk at 3:31 pm on Dec. 22, 2001)

Share this post


Link to post
Share on other sites

first do u know how to cam scp? if u do u shouldn't be having a problem right now.

Share this post


Link to post
Share on other sites

In your camera script use something like this:

; point camera at helo_1

_cam = "camera" camcreate [0,0,0]

_cam cameraeffect ["Internal", "front"]

_cam camsettarget helo_1

_cam camsetrelpos [7,30,1]

_cam camcommit 0

; Make guy_1 eject

eject_guy_1=true

_cam camsetrelpos [45,300,1.2]

_cam camcommit 20

@camcommitted _cam

~0

; point camera at guy_1

_cam = "camera" camcreate [0,0,0]

_cam cameraeffect ["Internal", "front"]

_cam camsettarget guy_1

_cam camsetrelpos [7,30,1]

_cam camcommit 0

_cam camsetrelpos [45,300,1.2]

_cam camcommit 20

@camcommitted _cam

~0

titlecut [" ","BLACK IN",2]

; end cutscene

_cam cameraeffect ["terminate", "back"]

camdestroy _cam

; exit the script

exit

It just changes the target the camera points at, after the eject_guy_1=ture, the camera should switch to the guy_1

Just set up a trigger that make guy_1 eject, and in the condition field type:

eject_guy_1

Share this post


Link to post
Share on other sites

u dont even know if he can script yet. i would of sai the same thing if i knew he could

Share this post


Link to post
Share on other sites

It isn't too hard to copy+paste that into a text file.

(Edited by Damage Inc at 5:23 pm on Dec. 22, 2001)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×