EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
How to make traces ignore user objects?
Create "info_target" object, i ask him: PHP Code:
PHP Code:
|
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
Change entity solid to SOLID_NOT and restore it after trace.
|
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
Я проверял, ставил 2х ботов, от одного к другому трейс пускал, вставал между ними - и трасса проходила до конца(игнорируя меня).
Искал в SDK, что бы такого объекту установить, чтобы его тоже игнорировало - ничего. Костыль я придумал уже, это просто продолжать трассу после объекта, но интересно же без него. I checked, put 2 bots, from one to the other, trace let go, got up between them - and the route passed to the end (ignoring me). I was looking for the SDK to install such an object so that it would also be ignored - nothing. I thought up a crutch already, it's just to continue the track after the object, but it's interesting without it. |
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
Quote:
|
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
Quote:
|
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
Quote:
But still i am not sure if it doesnt work, so i might give it several tests and see... |
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
Quote:
PHP Code:
Но трасса прерывается упершись в этот объект. So at me it indeed is. But the route is interrupted by leaning against this object. |
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
@artist you should change it to SOLID_NOT before trace and restore after trace.
|
Re: EngFunc_TraceLine(IGNORE_MONSTERS) and custom entity
Да это на форуме вопрос задали, чтобы несколько объектов бежали за игроком(заинтересовал игнор в трейсе, никогда им не пользовался)...
Тогда и мой вариант сойдет... Спасибо за уделённое время. )) Yes it is on the forum question asked that several objects were running behind the player (interested ignore in the trace, never used it)... Then my version will come down... Thank you for your time. )) PHP Code:
|
All times are GMT -4. The time now is 17:51. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.