Trace hull ignoring entities
So im trying to do a trace_hull and return the id of hit only for this 1 player in my argument.
Cause what if theres 3 players in my hull range, and I want to only find the one who is in my argument. With the trace_hull function PHP Code:
|
Re: Trace hull ignoring entities
Set ignoremonsters to 1 and it will ignore players, as for multiple other entities... well, I dunno... you could try -1, maybe it will ignore all entities then if that's what you need.
|
Re: Trace hull ignoring entities
Thanks for the help well yeah I thought about that, it would require a list of entities of some sort and it may just not be possible idk... If its not clear enough ill summarize it, trying to ignore all players except for 1 in a trace_hull.
|
Re: Trace hull ignoring entities
trace_hull doesn't return any entity index.
If you want to know pHit you may have to use fakemeta. Code:
static cell AMX_NATIVE_CALL trace_hull(AMX *amx,cell *params) |
Re: Trace hull ignoring entities
indeed I do thank you Connor I let that detail slide oops,
and then I re-ask the same question: PHP Code:
|
Re: Trace hull ignoring entities
Could you please explain exactly what you want to do ?
|
Re: Trace hull ignoring entities
Fix the shield when it comes to knife, so I decided to do a reverse hull trace from the shield to see if the stabber or slasher is in front hull. If it doesnt hit him, the stab was successful.
|
| All times are GMT -4. The time now is 03:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.