BIS fnc spawnEnemy: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
No edit summary |
||
Line 12: | Line 12: | ||
Description: | Description: | ||
Spawns enemies | Spawns enemies near player according to array of enemy classes. | ||
The units will try to hunt down the player | |||
Parameter(s): | Parameter(s): | ||
_this select 0: OBJECT - player | _this select 0: OBJECT - player | ||
_this select 1: OBJECT - refence object (enemies will be spawned on | _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 2: SIDE - side of enemies | ||
_this select 3 | _this select 3: ARRAY - list of enemy classes (units will form a group together) | ||
_this select 4 (Optional): NUMBER - delay between spawning | _this select 4 (Optional): NUMBER - delay between spawning | ||
_this select 5 (Optional): CODE - code executed on every soldier. Unit is passed as _this | _this select 5 (Optional): CODE - code executed on every soldier. Unit is passed as _this |
Revision as of 15:47, 7 June 2016
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