this is the name of a script but I post it here cause I think its related to camscripting.
I want a simple slomotion cutscene when the player get killed, but the prob is that the mission never ends...
Here is the code
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal","back"]
setacctime 0.2
_camera camsettarget player
_camera Camsetrelpos [-2,0,2]
_camera camcommit 0
@Camcommitted _camera
~3
setacctime 1
_camera cameraeffect ["terminate","back"]
Camdestroy _camera
end = true
exit
Ive got 1 trigger ,delay 3 sec:
condition : end
type : end#1
The cutscene works and the camera's destroyed but I return to the dead player, I can move my mouse around but no debriefing... I have to close OFP everytime cause I can't press Esc or other keys anymore... Very frustrating...
It looks like I've used the
disableuserinput true command but I did not...
Please help me with this or give me an example where onplayerkilled.sqs is used...I'm not too lazy to find it out, but I need a push...
THX Blanco