Hello Everyone!
First let me thank everyone who helped in getting me this
far in making this work. Being that I have no idea of what
scripting is actually about, could someone proof this and tell
me what I need to do differently to make this work properly?
Your help, as always, is appreciated.
What I did was combine a couple of sample scripts to get this
far.
My Goal:
Track the a-10 for four seconds and then segway to the
UH-60 taking off from the LST. This works fine
Then what I would like to have happen, is the UH-60 flies
to the LZ and lands, at which point the camera goes back
to the player (leader) sitting in the cargo bay with his
squad.
I cannot get the camera to track the UH-60. I get it to
show the helo taking off correctly, but the camera stays
put. Any thoughts?
_cam camsettarget a10
_cam camsetrelpos [-30,-40,6]
_cam camcommit 0
@camcommitted _cam
~4
_cam camsettarget heli1
_cam camsetrelpos [-30,-40,6]
_cam camcommit 0
@camcommitted _cam
#loop
~0.01
_cam camsettarget heli1
_cam camSetRelPos [-30,-40,6]
_cam camCommit 0
@camcommitted _cam
? not stoptracking : goto "loop"
_cam cameraeffect ["terminate", "back"]
camdestroy _cam
exit
I should point out that I know of the tracking script and
part of this comes from that. Should you be able to
answer this question, I humbly ask for you to be as
specific as possible since I am very unfamiliar with this
stuff. Thanks again for your help! Buck