BIS fnc fireSupportVirtual: Difference between revisions
Jump to navigation
Jump to search
(page filling) |
m (typo) |
||
Line 19: | Line 19: | ||
|p3= radius: [[Number]] - Radius of target area in meters|= Parameter 3 | |p3= radius: [[Number]] - Radius of target area in meters|= Parameter 3 | ||
|p4= | |p4= rounds: [[Number]] - Number of rounds to be fired|= Parameter 4 | ||
|p5= delay: [[Array]] or [[Number]] - Delay between rounds. | |p5= delay: [[Array]] or [[Number]] - Delay between rounds. |
Revision as of 00:52, 28 May 2018
Description
- Description:
- Creates an strategic map.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [target,mag,radius,rounds,delay,conditionEnd,safezone,alt,speed,sounds] call BIS_fnc_fireSupportVirtual
- Parameters:
- target: Position or Object or String - Target position, can be an object position or marker
- mag: String - Magazine (if left empy, first magazine available will be used)
- radius: Number - Radius of target area in meters
- rounds: Number - Number of rounds to be fired
- delay: Array or Number - Delay between rounds.
- conditionEnd: Code - (Optional, default ?) Condition to end bombardment before all rounds are fired
- safezone: Number - (Optional, default ?) Safezone radius - minimal distance from the target position where shells may be directed at
- alt: Number - (Optional, default 250) Altitude where the shell will be created
- speed: Number - (Optional, default 150) Descending velocity, in m/s. Default is 150, if you use flare as ammo, set it to lower value (1-5) to let it fall down slowly
- sounds: Array of strings - (Optional, default []) Ssounds to be played on the incoming shell
- Return Value:
- Boolean - True if successful
Examples
- Example 1:
[ BIS_Player,"Sh_82mm_AMOS",100,24,10 ] spawn BIS_fnc_fireSupportVirtual;;
- Example 2:
[ [3600,3600,0],nil,100,24,10 ] spawn BIS_fnc_fireSupportVirtual;
- Example 3:
[ BIS_Player,nil,100,24,10,{daytime > 20},50 ] spawn BIS_fnc_fireSupportVirtual;
Additional Information
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