Entity real name
Hey,
Is it possible to get the entity real name? Such as func_breakable, mappers name each entity on the map in VHE, or another program. Is it possible to get the name? Classname returns the entity class, globalname doesnt work and same for targetname |
Re: Entity real name
I assume it's retrieved in fakemeta using pev_targetname
|
Re: Entity real name
Quote:
|
Re: Entity real name
Such as func_breakable ?
That is a class name if he named the class name to something different it may not even function it wouldn't be an entity just an object. |
Re: Entity real name
It is possible to do, what exactly do you need?
|
Re: Entity real name
Quote:
It should indeed be targetname. Take a look at this BaseBuilder mod - https://forums.alliedmods.net/showthread.php?t=144287 It uses entities named "barrier" to do stuff. PHP Code:
PHP Code:
|
Re: Entity real name
i have been fighting with these names from VHE for 2man kz maps, and how i remember it was a little confusing, like target in .sma was name in VHE or something like that, try these things:
Code:
1) |
Re: Entity real name
1 Attachment(s)
Quote:
TO DO: Find_sphere_class_highlighting. Secret Door from Crossfire https://forums.alliedmods.net/attach...1&d=1573765490 Entity 258 EV_INT_movetype = 7 EV_INT_solid = 4 EV_INT_modelindex = 64 EV_INT_spawnflags = 768 EV_INT_rendermode = 1 EV_FL_ltime = 2.940000 EV_FL_nextthink = -1.000000 EV_FL_speed = 200.000000 EV_FL_renderamt = 150.000000 EV_VEC_movedir = (-0.000000,0.000000,-1.000000) EV_VEC_absmin = (638.000000,1438.000000,-1858.000000) EV_VEC_absmax = (658.000000,1522.000000,-1758.000000) EV_VEC_mins = (639.000000,1439.000000,-1857.000000) EV_VEC_maxs = (657.000000,1521.000000,-1759.000000) EV_VEC_size = (18.000000,82.000000,98.000000) EV_VEC_rendercolor = (0.000000,255.000000,0.000000) EV_ENT_pContainingEntity = 258 EV_SZ_classname = func_door EV_SZ_model = *63 EV_SZ_targetname = secret_door EV_SZ_noise1 = common/null.wav EV_SZ_noise2 = doors/doorstop4.wav Others: Entity Network Monitor. Entity Lab (Engine based) [Final] Entity Tool Ent Fun: unlock door! Code:
https://developer.valvesoftware.com/...-Life_entities https://wiki.alliedmods.net/Finding_Entities_(AMX_Mod_X) |
Re: Entity real name
Quote:
Correct me if i was mistaken PHP Code:
Quote:
I have tried both of these, not working PHP Code:
PHP Code:
Quote:
Quote:
|
Re: Entity real name
Show us the code in which you're trying to get the name. You may be using it on a wrong entity index. Also, are you sure the entity even has a name?
|
All times are GMT -4. The time now is 13:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.