Jump to content
Sign in to follow this  
mr_shadow

Action to remove everything from ground

Recommended Posts

Hello, does someone have a script that will show you the addaction to remove items from ground if you are close about 1m from uniform/vest/weapons or any items?

Share this post


Link to post
Share on other sites

This should do the trick:

act_deleteStuff = player addAction [
"Delete",
'
	deleteVehicle cursorTarget;
',
"",
1,
false,
false,
"",
'
	cursorTarget isKindOf "WeaponHolder"
'
];

Share this post


Link to post
Share on other sites

it only appears when you aim at items on the ground

Share this post


Link to post
Share on other sites

Init.sqf I think would work, or even the unit's init field depending on your situation.

Share this post


Link to post
Share on other sites

It'd be cool to have an unarmed truck or infantry AI going around collecting trash like back in the early WF days. Like roaming the map cleaning up weapon holders and vehicles haha.

Share this post


Link to post
Share on other sites
It'd be cool to have an unarmed truck or infantry AI going around collecting trash like back in the early WF days. Like roaming the map cleaning up weapon holders and vehicles haha.

Good idea.......

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×