[FIXED]How can I get the origin that in front of the entity
I have tried velocity_by_aim but it doesn't work.
The aim to do that is to create a entity in front of the player:) But how can I do this? |
Re: How can I get the origin that in front of the entity
velocity_by_aim + player origin should work
Try this : PHP Code:
PHP Code:
|
Re: How can I get the origin that in front of the entity
It does not work!
Actually, I want the function compatible with other entity such as NPC |
Re: [FIXED]How can I get the origin that in front of the entity
I don't know if it'll work because I don't know if ents have view_ofs or v_angle. You'll just have to try. Works with players.
Code:
|
Re: [FIXED]How can I get the origin that in front of the entity
PHP Code:
|
Re: How can I get the origin that in front of the entity
Quote:
Quote:
Nice. |
| All times are GMT -4. The time now is 19:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.