this code is just the star of a ten second cutscene showing an mgunner shooting at a guy. the cutscene is suppoesed to be triggered by a "fired" eh:
setacctime 0.01
titlecut ["","white out",0.005]
_gunner = _this select 0
_gun2 = _this select 1
_stu1 = _this select 2
_stu2 = _this select 3
_stu3 = _this select 4
_cam = "camera" camcreate [0,0,0]
_cam cameraeffect ["internal", "back"]
_cam camsettarget _gunner
_cam camsetrelpos [1,.5,.5]
_cam camcommit 0
titlecut ["","white in", 0.005]
there will be more to the cutscene, at the moment i'm focusing on the camera focusing on the gunner. problem is i get the white out, white in, camera created, but the camera's looking at sea and i get this error:
"_cam camsettarget _gunner; error 5 elements provided, 3 expected
what the hell does that mean, and how do i fix it? i haven't used eventhandlers before. but read the tutorial in the depot.
cheers,
A-bomb