| 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_CreateNamedEntity, engfunc(EngFunc_AllocString, "info_target")) engfunc(EngFunc_SetSize, iEnt, mins, maxs) set_pev(iEnt, pev_classname, "func_wall") set_pev(iEnt, pev_origin, fOrigin) set_pev(iEnt, pev_solid, SOLID_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
|