helicopter_set_path_orientation(name, path_orient)

Parameters:
name (string) name of the helicopter
path_orient (int) path orientation (see below)
 
Returns:
none

Description:
Set the path orientation on a helicopter.

target_name: [optional] (string) name of target to face, if applicable (only physical objects are currently supported [aka no navpoints])

path orients:
   HELI_PF_FACE_ALONG_PATH - point the front of the helicopter in the direction of the path (default helicopter behavior)
   HELI_PF_FACE_TARGET - point the front of the helicopter towards the helicopters current target
   HELI_PF_LEFT_SIDE_FACE_TARGET - point the left side of the helicopter towards the current target
   HELI_PF_RIGHT_SIDE_FACE_TARGT - point the right side of the helicopter towards the current target
   HELI_PF_FACE_DOWN_AT_TARGET - nose of the helicopter should point downwards at max pitch towards current target (special case used for dive-bombing VTOL in mission18)
   HELI_PF_PATH_PITCH - same as HELI_PF_FACE_ALONG_PATH, except that the helicopter follows the pitch of the path as well (flies similar to an airplane)

 

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