Jump to content

chewihomster

Member
  • Content Count

    3
  • Joined

  • Last visited

  • Medals

Community Reputation

0 Neutral

About chewihomster

  • Rank
    Rookie

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I have been using a script provided by Shaanig03 that allows a player to spawn squadmates in the vehicle that they are in, it fills commander driver and gunner roles with AI squadmembers, it does not fill passenger seats, the problem i an having is some of the vehicles im using have 8 gunner seats to the script is spawning a full squad of ten. I am trying to figure out a way to limit the amount of sqaudmembers to 3 or 4 to help save some performance. I have this so far, but it does not seem to be working. I am very new to Scripting _maxSquadSize = 3; checkSquadSize = { private["_playerGroup"]; _playerGroup = group player; _numUnits = count units _playerGroup; while {_numUnits > _maxSquadSize} do { _unitToRemove = units _playerGroup select (_numUnits - 1); _unitToRemove leaveVehicle; deleteVehicle _unitToRemove; _numUnits = count units _playerGroup; }; };
  2. Thankyou for the in-depth reply this will definitely help me get started!
  3. I'm still new to Eden editor and I wanted to make it so that if a player needs an extra Ai to operate a vehicle they can just use one of the radio commands to spawn them in, any help on this would be appreciated.
×