Forum Jump :

Author Message


Posts: 3
Rank:


Level: Member

Country: se
Location:
Occupation:
Age:
In-game name:

 
#1 Posted at 2013-02-08 04:26        
     
Alrighty! Im a longtime reader altough this is my first post! I have searched for an answer on the forums, but I cant seem to find a solution! What I want to do is to make it so that the only way to destroy (in this case a SCUD) is with satchelcharges (pipebombs). Is this possible? I would love any help!

EDIT: This is Arma 2: OA Soo I think It should be moved there, dont know how to do that though :( sry


Author Message


Posts: 1484
Rank:


Level: Member

Country: uk
Location:
Occupation:
Age:
In-game name:

 
#2 Posted at 2013-02-08 12:32        
     
Place this in the init line of the scud

this addEventHandler ["handledamage",{if ( (_this select 4) == "pipebomb") then {(_this select 0) setdamage 1 } }]


Advertisement


Author Message


Posts: 3
Rank:


Level: Member

Country: se
Location:
Occupation:
Age:
In-game name:

 
#3 Posted at 2013-02-08 14:01        
     
Nice! Thx man! I really appriciate it!