teleport_vehicle_to_object(vehicle_name, object_name[, offset_x[, offset_y[, offset_z[, heading_offset[, on_ground[, use_root_controller]]]]]]) |
|
Parameters: |
vehicle_name | | (string) name of the vehicle (or player to get the vehicle from) |
object_name | | (string) name of the navpoint |
offset_x | | (float, optional) X-axis offset in reference object's local coordinates . (defaults to 0.0) |
offset_y | | (float, optional) Y-axis offset in reference object's local coordinates. (defaults to 0.0) |
offset_z | | (float, optional) Z-axis offset in reference object's local coordinates. (defaults to 0.0) |
heading_offset | | (float, optional) heading offset (in degrees) from the source target. (defaults to 0.0) |
on_ground | | (boolean, optional) TRUE if the vehicle is being teleported to the ground, FALSE otherwise |
use_root_controller | | (boolean, optional) TRUE if root pos/orient of the reference object's root controller should be used. |
|
Returns: |
none |
|
Description: |
Teleport a character to a navpoint. |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |