02-03-2016, 02:44 PM
(02-02-2016, 11:39 PM)Alwarren link Wrote: Stick this at the end of your init.sqf
Code:
[] spawn {
 sleep 0.1;
 _heads = ["AfricanHead_01","AfricanHead_02","AfricanHead_03"];
 {
  if (side _x != WEST) then {
   _head = _array select floor random count _array;
   _x setFace _head;
  };
} forEach allUnits;
Not tested in game, so might have syntax error.
You can stick any number of heads in the _heads list, some of the CSAT faces might work as well.
See this.
that didn't seem to work but I found this one:
Code:
if(Isserver)then{
FaceArray = ["AfricanHead_01","AfricanHead_02","AfricanHead_03"];
{if((side _x) == east)then{_x setface (FaceArray select (random(round(count facearray))))};}foreach allunits;
};