Get name of entity
Is there a way to get the name of an entity?.
I dont mean info_target or func_wall or something, I mean the name you can set in valve hammer. I made a map and I placed the entity func_wall around the map so I know where to place things in my code, but I need to get their name so i can distinguish them. |
Re: Get name of entity
These are your string constants:
Code:
Try each one and see the results. |
Re: Get name of entity
Quote:
|
Re: Get name of entity
I changed the type of the entity to info_target, so now i just need to get the unique name of it. Im going to go try globalname now, ill let you know the results when im done, but assume they were negative until then ;D
Edit: Just wondering how to get all entitys of a specific type at the plugins init |
Re: Get name of entity
There is no unique name for such entity, except if you set in its pev a specific classname or something like.
"specific type" is quite vague. |
| All times are GMT -4. The time now is 07:26. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.