BIS fnc fireSupportVirtual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ :\\\-\/|()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - "{{Inline code|" to "{{ic|")
Line 25: Line 25:
* [[Number]] - Precise delay
* [[Number]] - Precise delay


|p6= conditionEnd: [[Code]] - (Optional, default {{Inline code|{ [[false]] }<nowiki/>}}) Condition to end bombardment before all rounds are fired
|p6= conditionEnd: [[Code]] - (Optional, default {{ic|{ [[false]] }<nowiki/>}}) Condition to end bombardment before all rounds are fired


|p7= safezone: [[Number]] - (Optional, default 0) Safezone radius - minimal distance from the target position where shells may be directed at
|p7= safezone: [[Number]] - (Optional, default 0) Safezone radius - minimal distance from the target position where shells may be directed at

Revision as of 19:09, 27 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Execution:
spawn
Groups:
Supports

Syntax

Syntax:
Syntax needed
Parameters:
target: Position, Object or String - Target position, can be object, position or marker name
mag: String - (Optional, default "Sh_82mm_AMOS") magazine (if left empty, first available magazine 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:
Return value needed

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

See also:
BIS_fnc_fireSupportBIS_fnc_fireSupportClusterBIS_fnc_fireBIS_fnc_fireSupport

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