werzproduction 0 Posted August 17, 2015 Hi, i would like know how to create a group with a random patrol please. (not a random unit starting position) Share this post Link to post Share on other sites
EO 11225 Posted August 17, 2015 This tutorial still works pretty well..... Share this post Link to post Share on other sites
killshot 5 Posted August 17, 2015 BIS_fnc_taskPatrol CBA_fnc_taskPatrol DescriptionA function for a group to randomly patrol a parsed radius and location.ParametersGroup (Group or Object)OptionalPosition (XYZ, Object, Location or Group)Radius (Scalar)Waypoint Count (Scalar)Waypoint Type (String)Behaviour (String)Combat Mode (String)Speed Mode (String)Formation (String)Code To Execute at Each Waypoint (String)TimeOut at each Waypoint (Array [Min, Med, Max])Example[this, getmarkerpos "objective1"] call CBA_fnc_taskPatrol[this, this, 300, 7, "MOVE", "AWARE", "YELLOW", "FULL", "STAG COLUMN", "this spawn CBA_fnc_searchNearby", [3,6,9]] call CBA_fnc_taskPatrol;ReturnsNilAuthorRommel Share this post Link to post Share on other sites
werzproduction 0 Posted August 17, 2015 but i want a random patrol in a predefined area and this video the AI patrol not in a predefined area. Share this post Link to post Share on other sites
Grumpy Old Man 3540 Posted August 17, 2015 but i want a random patrol in a predefined area and this video the AI patrol not in a predefined area. Did you even watch the video? How is patrolling an area with a radius of 100m not a predefined area? Cheers 1 Share this post Link to post Share on other sites
R3vo 2652 Posted August 17, 2015 I would suggest you stick to BIS_fnc_taskPatrol or the equivalent CBA function. Random patrols via editor waypoints get quite messy quickly. Share this post Link to post Share on other sites