Detecting origin of an i_t_g
I am having some problems with i_t_g entities. I'm trying to detect when a player is in distance to the entity, but it doesn't work like other entities.
I also scanned to find the i_t_g entity manually, but I found out all the i_t_g entities origins are 0,0,0. Is there any way at all to detect where these entities are at, or if a player is near one? |
Re: Detecting origin of an i_t_g
2 Attachment(s)
What is an i_t_g entity? never heard of that..0o
This tools are pretty cool if you work with entities... ent_info gives you infos about a entity by just aiming at it..and if you press +attack it lists all information about that entity in your console..(thx to pizzahut for this nice tool) And with shp_tool you can do also much things...i have just used traceent and drawent and it helped me alot..but it have alot more functionality..0o (thx to SpaceHeadedProductions for this nice tool) greetz regalis |
Re: Detecting origin of an i_t_g
Thanks for the reply but I've used both them already and neither work.
An i_t_g entity I'm guessing doesn't have an origin. I used ripent and noticed instead of an origin it had model*. |
Re: Detecting origin of an i_t_g
Use the get_brush_entity_origin() stock in engine_stocks.inc
You may get weird results with brushes that have a large size, or awkward shape, but for the majority of maps it should work fine. |
Re: Detecting origin of an i_t_g
Quote:
|
Re: Detecting origin of an i_t_g
It's the objective goal entity classname in TFC. I don't know why it has such an awkward name.
|
Re: Detecting origin of an i_t_g
Quote:
It is an realy awkward name for an entity...thought this would be a shortcut*lol* Anyway..thank you for clearing this ;) |
| All times are GMT -4. The time now is 10:39. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.