Jump to content
Marzeman

AI Squad Spawning with squad leader using the random placement radius in the Init

Recommended Posts

So In Arma2, I made this mission where basically I would set up 5 Rifle squads for Opfor And then another 5 for Bluefor and set their placement radius to about 3000 and set every squad a waypoint to the middle where i would put a fob or something. this may seem like a battle royal kinda thing but really I just use it for the dynamic squad combat (you can get really in depth missions using simple modules like Command/subordinate/ support / zues etc). you can add tanks or anything in. its fun. but now in arma3 they have made it so that the units in the squad spawn independently. which completely takes away the fun in my opinion. is there a fix to this? if anyone can help me It would be much appreciated... Its my favourite game mode haha

 

Regards

Share this post


Link to post
Share on other sites

Simple solution would be to leave the editor settings to default and place 5-10 markers around the FOB at the wanted distance, and group every opfor squad leader to every marker, so they can spawn on any connected marker randomly upon mission start.

 

Cheers

  • Like 1

Share this post


Link to post
Share on other sites

Thank you! yes I have tried this as well but its just not the same. like I subconsciously know where ive placed the markers so ill be watching those particular areas. Might have to be the way to go though... Hopefully not 

Share this post


Link to post
Share on other sites

Alternatively you could put this inside the init field of one unit from each group, no markers needed and pretty random:

_fobObject = YourFOB;//some named object from your FOB as reference
_rndPos = _fobObject getPos [3000,random 360];
{_x setPos _rndPos} forEach units this;//will set every unit inside this units group 3000m from the FOB in a random direction

Cheers

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×