Thread: [Solved] Entity real name
View Single Post
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 11-14-2019 , 16:40   Re: Entity real name
Reply With Quote #8

Quote:
Originally Posted by ZaX View Post
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
Pizza Hut's Entity Info.

TO DO: Find_sphere_class_highlighting.


Secret Door from Crossfire


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:
new entlist[513]; find_sphere_class(0,"classname_to_find",radius_float,entlist,512,origin_vector);



https://developer.valvesoftware.com/...-Life_entities
https://wiki.alliedmods.net/Finding_Entities_(AMX_Mod_X)
Attached Images
File Type: jpg crossfire0003.jpg (93.1 KB, 179 views)
__________________
DJEarthQuake is offline