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

Cutscene causing game bug?

Recommended Posts

in my mission ive added a script that plays a slow motion cutsceen when the player is killed either in or out of a vehicle, like in the Red Hammer mission where you must defend montignac. the script is working fine and the cutscene works with no problems. the only thing that is going wrong is that after the cutscene has ended, and the game goes to the you are dead screen, the you are dead screen doesn't work as it normally does. like it doesn't zoom out of the player and show who killed you etc. it instead stays focused on you as if you were still playing normally, it even shows the ingame crosshair and the HUD display if you were inside a vehicle. by the looks of it the game is considering you as still alive, even though yu are dead. i really need to know how to fix this problem, if anyone knows whats wrong please tell me. heres the script:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">;[target,distance]

_radius = _this select 1

_target = _this select 0

;titleCut ["","BLACK IN",1]

_tx = getpos _target select 0

_ty = getpos _target select 1

_tz = getpos _target select 2

;titleCut ["","BLACK IN",0.01]

0 fademusic 0.0

setacctime 0.0

;_pi = 3.141592654

;full circle = 2*_pi

;x = r*sin(_theta)

;y = r*cos(_theta)

;total rotation

_Degrees = 360

_DegreesToMove = 10

_WaitTime = 0

_MoveTime = 0.1

_theta = 0

_x = 0.0

_y = 0.0

_x = _radius

_z = 1.7

_camera = "camera" camCreate [_tx + 1,_ty,_tz]

_camera cameraEffect ["internal","back"]

_camera camSetTarget _target

_camera camSetRelPos[_x,_y,_z]

_camera camSetFOV 1.00

_camera camCommit 0

@camCommitted _camera

setacctime 0.1

#start

_x = _radius*sin(_theta)

_y = _radius*cos(_theta)

_camera camSetRelPos[_x,_y,_z]

_camera camSetFOV 1.00

_camera camCommit _MoveTime

@camCommitted _camera

_theta = _theta + _DegreesToMove

?_theta<_Degrees:goto "start"

player cameraEffect ["terminate","back"]

camDestroy _camera

setacctime 1.0

exit<span id='postcolor'>

Share this post


Link to post
Share on other sites

<span style='font-family:"verdana"'><span style='font-size:72pt;line-height:100%'><span style='color:"red"'>HELP!!!</span></span></span>

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  

×