D1Z4STR 1 Posted June 30, 2013 With some razorwire barrier, how would i get it to not collapse when a player dies on/next to it? What would I type in the init of the object? Share this post Link to post Share on other sites
MissileMoose 10 Posted June 30, 2013 Have you tried 'this allowDamage false'? Share this post Link to post Share on other sites
D1Z4STR 1 Posted June 30, 2013 it worked thanks! ---------- Post added at 05:12 ---------- Previous post was at 04:26 ---------- Never mind i was just testing about the 6th time and when I was shot i fell onto it and it collapsed. Share this post Link to post Share on other sites
kylania 567 Posted June 30, 2013 Put this in it's init field: this addEventHandler ["HandleDamage",{}]; Share this post Link to post Share on other sites
MissileMoose 10 Posted June 30, 2013 Put this in it's init field: this addEventHandler ["HandleDamage",{}]; allowDamage has seemingly become unreliable as of recently, is this command now obsolete? Share this post Link to post Share on other sites
kylania 567 Posted June 30, 2013 It's probably an issue of locality. allowdamage is local, so needs to be run on everyone's computer otherwise some might be able to damage it while others couldn't. HandleDamage eventhandler is local as well, but local to the object not the attacker, so that might be why it's a bit more resilient? :) Share this post Link to post Share on other sites