Set-camera-facing-object

From FreeSpace Wiki
Jump to: navigation, search
set-camera-facing-object
	Makes the camera face the given object  Takes 1 to 4 arguments...
	1:	Object to face
	(optional)
	2:	Total turn time (milliseconds)
	3:	Time to spend accelerating/decelerating (milliseconds)
	4:	Time to spend decelerating (milliseconds)

Comments

This SEXP can be used in an every-time event to make the camera track a moving target.