FindRandomSquad sides and nations
Posted: Wed Feb 19, 2014 9:53 am
Hi
I have seen the use of this function that is very interesting, but I was wondering how does he knows which units correspond to each side? Is it looking at the sides file and then searching for Axis or Ally units?
I am saying this because it appears to be a big limitation right now, as it appears that there is going to be a single squads file I would like to have another attribute that establishes the nation of the unit (I was using the soundbank for it). That way you can have a more generic function that searches for units per nation rather than side, so that it is simpler to add any unit with more control and without the limitation of 2sides=2nations.
I have seen the use of this function that is very interesting, but I was wondering how does he knows which units correspond to each side? Is it looking at the sides file and then searching for Axis or Ally units?
I am saying this because it appears to be a big limitation right now, as it appears that there is going to be a single squads file I would like to have another attribute that establishes the nation of the unit (I was using the soundbank for it). That way you can have a more generic function that searches for units per nation rather than side, so that it is simpler to add any unit with more control and without the limitation of 2sides=2nations.