forceWeaponFire: Difference between revisions
Jump to navigation
Jump to search
m (Text replace - "{{uc:{{PAGENAME}}}}" to "{{uc:{{PAGENAME}}}} {{uc:{{PAGENAME}}}}") |
(Wrong type os parameter fixed.) |
||
Line 18: | Line 18: | ||
|p3= weapon: [[String]] |= PARAMETER3 | |p3= weapon: [[String]] |= PARAMETER3 | ||
|p4= mode: [[ | |p4= mode: [[String]] - Possible options are "Single", "Burst" and "FullAuto". |= PARAMETER4 | ||
| [[Nothing]] |= RETURNVALUE | | [[Nothing]] |= RETURNVALUE | ||
|x1= <code>soldierOne forceWeaponFire ["arifle_MX_F", | |x1= <code>soldierOne forceWeaponFire ["arifle_MX_F", "Single"]</code>|= EXAMPLE1 | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ |
Revision as of 12:10, 22 May 2013
Description
- Description:
- The unit will be forced to fire from the given weapon.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit forceWeaponFire [weapon, mode]
- Parameters:
- unit: Object
- [weapon, mode]: Array
- weapon: String
- mode: String - Possible options are "Single", "Burst" and "FullAuto".
- Return Value:
- Nothing
Examples
- Example 1:
soldierOne forceWeaponFire ["arifle_MX_F", "Single"]
Additional Information
- See also:
- See also needed
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note