Quote:
Originally Posted by hlstriker
I'm now thinking that the 5th argument is the entity that the traceline is bypassing. Is this correct?
|
I think that if the 5th argument is the entity index that can't be returned (ent to skip).
I also think that if you set 4th arg to DONT_IGNORE_MONSTERS, it can return another player that could be between the nade and the first player.
But a wall is not often an entity, so you have to make other checks.
May be compare nade origin and origin of what is returned
PHP Code:
get_tr2(0, TR_vecEndPos, dest)
Wait for good advises of skilled coders