Jump to content
Sign in to follow this  
happygharry

"camera.sqs" problem can someone help please

Recommended Posts

kk well im going by the AMS_camscripting tutorial the last part about the man getting so close to a car then it changes scene heres my "scene.sqs"

#loop

_camera camsettarget UH60

_camera camsetrelpos [-10,0,10]

_camera camPrepareFOV 0.700

_camera camCommit 0

@ camCommitted_camera

? Man1 distance Car2 <=5 : goto "Loop2"

goto "loop"

#loop2

_camera camsettarget Car2

_camera camsetrelpos [8,-15,3]

_camera camPrepareFOV 0.700

_camera camCommit 0

@ camCommitted_camera

? Man1 distance Officer <=10 : goto "Endszene"

goto "loop2"

#Endszene

titlecut ["","BLACK Out",5]

~1

Player cameraEffect ["terminate","back"]

camDestroy_camera

ende1=true;

Exit;

i have also got a picture

arma22009073015333289.png

Share this post


Link to post
Share on other sites

and your problem is ?

edit

aah i see it now

If that car is an enemy car he wont get into it - try with different type of vehicles..

Share this post


Link to post
Share on other sites

thanks a lot for fast response will try it out now

EDIT: ok i tried what you said to change the vehicle and the man both to USMC i put a normal rifleman down and told him to move, then get in the Humvee which is also USMC he just did the same thing and walked straight past it ?? i then tried the exact same thing but an empty Humvee and he did the same I'm getting really confused

---------- Post added at 04:39 PM ---------- Previous post was at 04:09 PM ----------

ok now i have another issue he gets in the car fine but as i have scripted for the scene to change once he gets 5m away from it he doesn't

(i got him in the car by using ck-claws idea on the other thread "this moveindriver Car2")

Edited by happygharry
tried what u said

Share this post


Link to post
Share on other sites

moveInDriver command happens instantly. No animation, the AI doesn't even technically know it's in the vehicle for purposes of a subsequent GET OUT waypoint. Either change your trigger to check if he's in the vehicle rather than 5m away, or use something like assignAsDriver combined with orderGetIn instead of the moveInDriver.

The other thing to try is moving the Get In waypoint ONTO the vehicle rather than next to it, to tie it to the vehicle. Here's a demo mission that shows that in use.

Edited by kylania

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  

×