AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Doors crushing players (https://forums.alliedmods.net/showthread.php?t=55118)

Bad_Bud 05-14-2007 02:20

Doors crushing players
 
How do I make doors no longer do damage when they close on players? I've seen a lot of servers with this, but I can't find out how they did it. (Specialists mod)

alien 05-14-2007 03:13

Re: Doors crushing players
 
Hi,

never did this before, but have you tried to set EV_FL_takedamage of those doors to 0.0?

Best regards

VEN 05-14-2007 03:20

Re: Doors crushing players
 
Just set door entity dmg pev value to zero like so: set_pev(ent, pev_dmg, 0.0)

Bad_Bud 05-15-2007 00:40

Re: Doors crushing players
 
Cool beans. THANKS!


All times are GMT -4. The time now is 10:35.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.