Jump to content

unlootable ai?


Dismal

Recommended Posts

In DZMSAIKilled.sqf, find this line at the bottom:

//Dead body timer and cleanup

And direcly ABOVE it, you have two options.

 

You can make the AI be deleted as soon as they are killed, by adding this line:

deleteVehicle _unit;

Or you can remove all their gear by adding these lines:

removeBackpack _unit;
removeAllWeapons _unit;
{
	_unit removeMagazine _x
} forEach magazines _unit;
Link to comment
Share on other sites

 

In DZMSAIKilled.sqf, find this line at the bottom:

//Dead body timer and cleanup

And direcly ABOVE it, you have two options.

 

You can make the AI be deleted as soon as they are killed, by adding this line:

deleteVehicle _unit;

Or you can remove all their gear by adding these lines:

removeBackpack _unit;
removeAllWeapons _unit;
{
	_unit removeMagazine _x
} forEach magazines _unit;

could this be used to spawn AI without the loot that their skin gives them (like gps and radio) and after that give them their intended gear?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...