camera_restrict_target_object([object_name[, transition_time_ms[, player[, offset_x[, offset_y[, offset_z]]]]]])

Parameters:
object_name (string, optional) target object to follow (defaults to NULL (look at where the camera is currently))
transition_time_ms (int, optional) transition time in milliseconds (defaults to 0 (no transition))
player (string, optional) name of the player to give cash to (defaults to NULL (all players))
offset_x (float, optional) amount to offset the human from the object in the x plane. (defaults to 0.0)
offset_y (float, optional) amount to offset the human from the object in the y plane. (defaults to 0.0)
offset_z (float, optional) amount to offset the human from the object in the z plane. (defaults to 0.0)
 
Returns:
none

Description:
Set a handle for the restricted camera to follow
 

back to indexSR3 Script Action Documentation
Last updated: Tue, 09 Aug 2011 11:32:16