AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Trigger in clipping list (https://forums.alliedmods.net/showthread.php?t=335766)

ConorCC 01-02-2022 06:48

Trigger in clipping list
 
Hy there!

When you place an entity that solid state is trigger everything is fine unti it's not in a clipping list.

If I know well clipping list is part of the map that supposed to block players like an invisible wall but you can shoot through them. Am I right?

Can I check is an entity in clip before I set to trigger to avoid crash with this reason "SV_ClipToLinks: Trigger in clipping list"?

CrazY. 01-02-2022 07:42

Re: Trigger in clipping list
 
I guess a clip entity has its solid set to SOLID_BSP, try checking that.

Code:

#define SOLID_BSP                      4          // BSP clip, touch on edge, block

Natsheh 01-02-2022 16:18

Re: Trigger in clipping list
 
If you want to avoid the crash, set the entity size using engfunc right after changing its solid type, that worked with me :)

ConorCC 01-05-2022 12:12

Re: Trigger in clipping list
 
Quote:

Originally Posted by Natsheh (Post 2767474)
If you want to avoid the crash, set the entity size using engfunc right after changing its solid type, that worked with me :)

That is exactly i'm looking for. :D Thank you!


All times are GMT -4. The time now is 11:31.

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