BIS_fnc_fireSupport

From Bohemia Interactive Community
Revision as of 18:42, 3 April 2006 by BIS fnc exportFunctionsToWiki (talk) (Generated by BIS_fnc_exportFunctionsToWiki)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*
	Author: Vaclav "Watty Watts" Oliva

	Description:
	Mortar/artillery fire support

	Parameters:
	Select 0 - OBJECT: Artillery unit
	Select 1 - ARRAY or OBJECT or MARKER: Target position ([x,y,z] or Object or "Marker")
	Select 2 - STRING: Magazine (if left empy, first magazine available will be used)
	Select 3 - NUMBER: Radius
	Select 4 - NUMBER: Number of rounds to be fired
	Select 5 - NUMBER or ARRAY: Delay between rounds - use either #x for precise timing or [#x,#y] for setting min and max delay. 5 seconds is minimum.
	Select 6 - (OPTIONAL) CODE: Condition to end bombardment before all rounds are fired
	Select 7 - (OPTIONAL) NUMBER: Safezone radius - minimal distance from the target position where shells may be directed at

	Returns:
	Boolean

	Examples:
	_barrage = [BIS_Mortar,[3600,3600,0],"",100,24,10] spawn BIS_fnc_fireSupport;
	_barrage = [BIS_Mortar,BIS_Player,"8Rnd_82mm_Mo_shells",100,24,10] spawn BIS_fnc_fireSupport;
	_barrage = [BIS_Mortar,"BIS_mrkTargetArea","8Rnd_82mm_Mo_shells",100,24,10,{BIS_Player distance BIS_EscapeZone < 100}] spawn BIS_fnc_fireSupport;
	_barrage = [BIS_Mortar,BIS_Player,"8Rnd_82mm_Mo_shells",100,24,10,{dayTime > 20},50] spawn BIS_fnc_fireSupport;
	_barrage = [BIS_Mortar,BIS_Victim,"8Rnd_82mm_Mo_shells",100,24,[5,10],{dayTime > 20},50] spawn BIS_fnc_fireSupport;
*/

// Params
(Placeholder description extracted from the function header by BIS_fnc_exportFunctionsToWiki)
Execution:
call
Groups:
Uncategorised

Syntax

Syntax:
Syntax needed
Return Value:
Return value needed

Examples

Example 1:

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

Notes

Bottom Section