AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Not solid ent that triggers a function (https://forums.alliedmods.net/showthread.php?t=41180)

Obbin 07-10-2006 14:36

Not solid ent that triggers a function
 
How to make a ent not-solid but still trigger a function when it touches a player?

Thanks!

Basic-Master 07-10-2006 15:00

Re: Not solid ent that triggers a function
 
change its solid value to SOLID_TRIGGER. I just wouldn't try that for players, has rather bad consequences for your server (thast crashes it IIRC).

Hawk552 07-10-2006 15:25

Re: Not solid ent that triggers a function
 
Quote:

Originally Posted by Basic-Master
change its solid value to SOLID_TRIGGER. I just wouldn't try that for players, has rather bad consequences for your server (thast crashes it IIRC).

It crashes when you touch a trigger_hurt or trigger_teleport. Just add a check to see if the user is in a radius away from either of those and disable it if they are.


All times are GMT -4. The time now is 08:05.

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