BIS_fnc_spawnEnemy

From Bohemia Interactive Community
Revision as of 15:47, 7 June 2016 by OOKexOo (talk | contribs)
Jump to navigation Jump to search


Hover & click on the images for description

Description

Description:
/*

	Description:
	Spawns enemies near player according to array of enemy classes.
        The units will try to hunt down the player

	Parameter(s):
	_this select 0: OBJECT - player
	_this select 1: OBJECT - refence object (enemies will be spawned on same direction in respect to the player)
	_this select 2: SIDE - side of enemies
	_this select 3: ARRAY - list of enemy classes (units will form a group together)
	_this select 4 (Optional): NUMBER - delay between spawning
	_this select 5 (Optional): CODE - code executed on every soldier. Unit is passed as _this

	Returns:
	ARRAY - list of all spawned crows
*/

(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