Jump to content
Sign in to follow this  
Persian MO

destroy a portable generator, how?

Recommended Posts

How to destroy a portable generator?I have a portable generator, produce power for some lights, when somebody fire at it , i want to cut the power and lights off.

Portable generator not destroying in normal way, looks like.i tried  hit eventhandler like this and not working.

this addeventhandler ["hit", { if (damage (_this select 0) < 0.9 ) then {hint "cut";}}];  
 

Share this post


Link to post
Share on other sites

 

How to destroy a portable generator?I have a portable generator, produce power for some lights, when somebody fire at it , i want to cut the power and lights off.

Portable generator not destroying in normal way, looks like.i tried  hit eventhandler like this and not working.

this addeventhandler ["hit", { if (damage (_this select 0) < 0.9 ) then {hint "cut";}}];  

 

You could try adapting the trigger settings in this post to suit your needs.

 

Power-outage

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  

×