Naiss 28 Posted September 30, 2016 How would i make it so AI's spawn inside a marker that's a circle? in random areas in side the circle Share this post Link to post Share on other sites
supergruntsb78 67 Posted September 30, 2016 try using EOS( http://www.armaholic.com/page.php?id=20262 ) it has exactly what you want ;) Share this post Link to post Share on other sites
Boerstil 8 Posted September 30, 2016 _mkr = "MarkerName"; _pos = getMarkerpos _mkr; _rad = getMarkerSize _mkr; _spawnPos = [_pos, 1, (_rad select 0), 2, 0, 30, 0, [],[_pos],[]] call BIS_fnc_findSafePos; _enemygrp = [_spawnPos, East,(configFile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfSquad"),[],[],[],[],[],180] call BIS_fnc_spawnGroup; Not tested but should work. Share this post Link to post Share on other sites
theend3r 83 Posted September 30, 2016 Use BIS_fnc_findSafePos or CBA_fnc_randPos or write your own function, for example using getRelPos: params ["_trigger"]; _radius = triggerArea _trigger select 0; _pos = _trigger getRelPos [random(_radius), random(360)]; Share this post Link to post Share on other sites
ArmaMan360 94 Posted February 5, 2017 Nevermind got it to work :) Share this post Link to post Share on other sites
Midnighters 152 Posted February 6, 2017 A random position? You could use https://community.bistudio.com/wiki/BIS_fnc_randomPos for finding water positions, ground, etc. returns x,y,z position for a trigger. Just a thought. Share this post Link to post Share on other sites