AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Func_wall (https://forums.alliedmods.net/showthread.php?t=275212)

vitorrossi 11-24-2015 21:14

[HELP] Func_wall
 
My question: is there a way to make a traceline interact with a plugin created func_wall?

If I create a func_wall as follows:

PHP Code:

new iEnt engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"))
engfunc(EngFunc_SetSizeiEntminsmaxs)
set_pev(iEntpev_classname"func_wall")
set_pev(iEntpev_originfOrigin)
set_pev(iEntpev_solidSOLID_BBOX)  // Have also tried SOLID_BSP 

Then in my plugin somewhere I trace a traceline through this wall, it does not "hit" the wall. Instead the traceline goes to the next solid object, and that is the end position it returns.

Thanks in advance


All times are GMT -4. The time now is 18:15.

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