mirror of
https://github.com/IT07/a3_vemf_reloaded.git
synced 2024-08-30 16:52:11 +00:00
23 lines
634 B
Plaintext
23 lines
634 B
Plaintext
/*
|
|
Author: IT07
|
|
|
|
Description:
|
|
spawns AI at all given locations in config file
|
|
|
|
Params:
|
|
none
|
|
|
|
Returns:
|
|
nothing
|
|
*/
|
|
|
|
if ((([["aiStatic"],["enabled"]] call VEMFr_fnc_config) select 0) isEqualTo 1) then
|
|
{
|
|
["spawnStaticAI", 2, "launching..."] ExecVM "exile_vemf_reloaded\sqf\log.sqf";
|
|
([["aiStatic"],["positions","amount"]] call VEMFr_fnc_config) params ["_s0","_s1"];
|
|
["spawnStaticAI", 2, "spawning AI on positions..."] ExecVM "exile_vemf_reloaded\sqf\log.sqf";
|
|
{
|
|
[_x, 2, _s1 select _foreachindex, ("aiMode" call VEMFr_fnc_config), "Static"] spawn VEMFr_fnc_spawnVEMFrAI;
|
|
} forEach _s0;
|
|
};
|