ok... ive got a blackop who goes to hide in a chopper.
Now because i dont want him to be the pilot (becos then the mission becomes pointless) the chopper has to be locked and a sneaky way of getting into the chopper is implemented - some people say to group game logics to my player and assign them as cargo - but this simply doesnt work - it crashes my version of OFP - so i refuse to use it.
so i used the following script - makes a fake chopper exchange the real one and a dummy guy get into the chopper - and then the player is moved into the chopper which is sent back - cunning hey?
chop1 removeaction hideinchop
titlecut ["", "black out", 1]
~1
chop1 setpos (getpos chopmove2)
chop2 setpos (getpos chopmove1)
dummy1 setpos (getpos dummymove1)
ap1 moveincargo chop1
_camera = "camera" camcreate [0,0,0]
_camera cameraeffect ["internal", "back"]
_camera camsettarget chop2
_camera camsetrelpos [-3,20,8]
_camera camcommit 0
titlecut ["", "black in", 2]
~1
[dummy1] ordergetin true
~6
titlecut ["", "black out", 2]
~2
_camera cameraeffect ["terminate", "Back"]
camdestroy _camera
chop1 setpos (getpos chopmove1)
chop2 setpos (getpos chopmove2)
titlecut ["", "black in", 2]
~2
ap1 setcaptive true
captive1 = true
exit
now, that works fine, but when the pilots come to get into the chopper, they refuse to. at first i used get in waypoint, so i changed that to ordergetin true - but that doesnt work either. They walk up to the chopper and stop. The chopper is locked, but that doesnt normally stop AI units - or at least not in previous times ive used it. Now i reckon its because of my teleporting antics... or since version 1.75 cant AI get into locked vehicles?
so, at the moment ive decided to use a fadeout and fadein to let them be teleported into the chopper. I use the following script, but the fadeout never happens - they get moved into the chopper, but there is no fade... whats wrong?
titlecut ["", " black out", 2]
~2
pilot1 moveindriver chop1
pilot2 moveingunner chop1
titlecut ["", " black in", 2]
~2
there is no error or anything. Weird hey?
this is pee'ing me off... so any help will be appreciated - im quite willing to send the mission to any1 who wants to have an in depth look into it.
cheers :thumbsup: