Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  

Recommended Posts

I hope this is in the right place. I've been searching for hours and cannot find a working solution. What code do I need to have a camera attached to and move with a Halo unit ? This is what I'm using now, but the camera does not even come on. I have it in a game logic with the [] exec "tfkwcam.sqs" in the init. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0">

<tr><td>Code Sample </td></tr><tr><td id="CODE">useCamera = true

_c = "camera" camCreate getPos u1

_c cameraEffect ["internal","front"]

_c camSetTarget u1

_c camSetFov 0.7

_c camCommit 0

#loop

_c camSetRelPos [0, 9, -0.5]

_c camCommit 0

? useCamera : goto "loop"

_c cameraEffect ["terminate","front"]

camDestroy _c

Edited by strike3314

Share this post


Link to post
Share on other sites
Sign in to follow this  

×