BIS fnc fireSupportVirtual: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) (Fix parameter) |
||
Line 8: | Line 8: | ||
|descr= Fires virtual mortar/artillery fire support. | |descr= Fires virtual mortar/artillery fire support. | ||
|s1= [target, | |s1= [target, ammo, radius, rounds, delay, conditionEnd, safezone, alt, speed, sounds] spawn [[BIS_fnc_fireSupportVirtual]] | ||
|p1= target: [[Position]], [[Object]] or [[String]] - Target position, can be object, position or marker name | |p1= target: [[Position]], [[Object]] or [[String]] - Target position, can be object, position or marker name | ||
|p2= | |p2= ammo: [[String]] - (Optional, default "Sh_82mm_AMOS") ammunition to be used (if left empty, {{hl|Sh_82mm_AMOS}} ammunition will be used) | ||
|p3= radius: [[Number]] - (Optional, default 100) radius of target area in meters | |p3= radius: [[Number]] - (Optional, default 100) radius of target area in meters |
Revision as of 17:06, 20 November 2022
Description
Syntax
- Syntax:
- [target, ammo, radius, rounds, delay, conditionEnd, safezone, alt, speed, sounds] spawn BIS_fnc_fireSupportVirtual
- Parameters:
- target: Position, Object or String - Target position, can be object, position or marker name
- ammo: String - (Optional, default "Sh_82mm_AMOS") ammunition to be used (if left empty, Sh_82mm_AMOS ammunition will be used)
- radius: Number - (Optional, default 100) radius of target area in meters
- rounds: Number - (Optional, default 10) number of rounds to be fired
- delay: Array or Number - (Optional, default 10) delay between rounds
- conditionEnd: Code - (Optional, default { false }) Condition to end bombardment before all rounds are fired
- safezone: Number - (Optional, default 0) 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 [""]) Sounds to be played on the incoming shell
- Return Value:
- Boolean - true if successful
Examples
- Example 1:
- Example 2:
- Example 3:
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