Dismal Posted February 14, 2014 Report Share Posted February 14, 2014 I was wondering if its possible with EMS to make the ai unlootable? i would love to add maaws rockets to one of the guys to keep people form running over the ai in vodnicks, But i dont want maaws rockets everywhere. Link to comment Share on other sites More sharing options...
TheVampire Posted February 14, 2014 Report Share Posted February 14, 2014 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 More sharing options...
insertcoins Posted February 18, 2014 Report Share Posted February 18, 2014 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 More sharing options...
GhostTown Posted February 18, 2014 Report Share Posted February 18, 2014 There is also a line to delete the gear if they are run over by a vehicle. TheVampire 1 Link to comment Share on other sites More sharing options...
TheVampire Posted February 18, 2014 Report Share Posted February 18, 2014 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? DZMSAISpawn always clears their original gear, because AT units spawn with rockets and such. DZMS has unlootable AI configurable now. Link to comment Share on other sites More sharing options...
Dismal Posted February 20, 2014 Author Report Share Posted February 20, 2014 Forgot to come back and tell you thank you for all your help. TheVampire 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now