Jump to content

Recommended Posts

If i wanted to make a script that requires a satchel to be placed on a radio tower to destroy it, what would be a method i could use?

 

Basically im trying to make it so players cant just shoot it with CAS or Artillery. someone has to physically walk up and place a satchel on the tower to blow it up.

 

Share this post


Link to post
Share on other sites

This should do the damage.
 

_radioTower addEventHandler
[
	"HandleDamage",
	{
		params ["_unit", "_selection", "_damage", "_source", "_projectile", "_hitIndex", "_instigator", "_hitPoint"];
		
		if (toLower _projectile isEqualTo "satchelcharge_remote_ammo") then {1} else {0};
	}
];

 

  • Like 3

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

×