fireAtTarget

From Bohemia Interactive Community
Revision as of 09:17, 16 September 2010 by Dwarden (talk | contribs) (long time missing from being documented, not anymore)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Hover & click on the images for description

Description

Description:
Remotely forces a unit to fire the given weapon.
Groups:
Uncategorised

Syntax

Syntax:
sourceVehicle fireAtTarget [targetVehicle,weaponClassName]
Parameters:
sourceVehicle: Object - source vehicle to fire from
WeaponClassName: String - weapon classname
targetVehicle: Object - target vehicle to fire at
Return Value:
Nothing

Examples

Example 1:
this fireAtTarget [groundtarget1,HellfireLauncher];
Example 2:
Igla_AA_pod_TK_EP1 fireAtTarget [_helicopter,currentweapon Igla_AA_pod_TK_EP1];

Additional Information

See also:
firelaserTarget targetVehicle

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord.
Only post proven facts here! Add Note

Notes

Most likely only for missiles and for interaction with player only.

Bottom Section