Raised This Month: $51 Target: $400
 12% 

[HELP] Func_wall


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
vitorrossi
Senior Member
Join Date: Apr 2012
Location: NY, USA
Old 11-24-2015 , 21:14   [HELP] Func_wall
Reply With Quote #1

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

Last edited by vitorrossi; 11-24-2015 at 21:15.
vitorrossi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:46.


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