helicopter_shoot_human(heli_name, human_name[, unit_sphere[, multiplier[, alt_fire]]]) |
|
Parameters: |
heli_name | | (string) name of the helicopter |
human_name | | (string) name of the human target |
unit_sphere | | (boolean, optional) set to true to aim for a random point on a sphere around the target, or false to fire directly at the target (defaults to true) |
multiplier | | (float, optional) if unit_sphere is set to true, the radius of the sphere, in meters; ignored if unit_sphere is false (defaults to 1.0) |
alt_fire | | (bool, optional) true to fire alt weapon (rockets usually), false to fire main (guns usually) (defaults to true) |
|
Returns: |
(boolean) true if a missile was fired, else false |
|
Description: |
Make a helicopter fire a missile at a character. |
|
|
back to index | SR3 Script Action Documentation Last updated: Tue, 09 Aug 2011 11:32:15 |