Welcome to the Iron Front Fan Forums!
Sign up Latest Topics
 
 
 


Reply
  Author   Comment  
santiagojamesaea

Sergeant
Registered:
Posts: 106
Reply with quote  #1 
hi there,
i'm sure Tay-uk posted some time ago a code snippet where a pak 40 or Soviet gun would be firing as an artillery piece,and the cammo net surrounding it wouln't fall down. Does anyone have this script? i know it was on this fórum and i thought i had it but i don't (dumb!) and i don't seem to be able to find it on the fórum. If anyone does have it or could point me in the right direction....

thanks!!
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #2 

To make an object not get damaged (e.g, a camo net to stop it falling down)

this addEventHandler ["HandleDamage", {false}];

__________________
0
Santa Six

Avatar / Picture

Colonel
Registered:
Posts: 360
Reply with quote  #3 
It's much simpler then that.
this allowDamage false;
0
Gunter Severloh

Avatar / Picture

Admin
Registered:
Posts: 2,757
Reply with quote  #4 
ya I was going to say that to but i quoted Tay as thats what he was looking for.
__________________
0
santiagojamesaea

Sergeant
Registered:
Posts: 106
Reply with quote  #5 
thanks everybody!!!
it's a silly Little line of code but it does help add flavour!!
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation:

Easily create a Forum Website with Website Toolbox.