OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: gadolinite on 25 Jan 2006, 20:48:58

Title: Camera on UAZ speaker
Post by: gadolinite on 25 Jan 2006, 20:48:58
How do you get a cutscent camera to zoom in on the UAZ dash speaker?  Here is a picture of it.  

Title: Re:Camera on UAZ speaker
Post by: XCess on 25 Jan 2006, 21:03:30
_cam camSetTarget [(getPos UAZ)+x, (getPos UAZ)+y, z]
_cam camSetRelPos [0,-0.1,0]
_cam camCommit 0


play around with the x y and z until you get the right position. You might have to change the + for - but it'll work with a lil' patience.

Title: Re:Camera on UAZ speaker
Post by: macguba on 25 Jan 2006, 21:04:13
You may also find Blanco's logicam script from the Editors Depot useful.