ent_for_name (STRING* name);
Returns a pointer to the entity with
the given WED name. Names can be assigned to entities through [Properties]
in WED. This way, entities placed in a level can be accessed in functions even
if they have no action themselves.
name - the entity name in WED,
char* or STRING*
ENTITY* pointer or NULL if not found.
Only the first 20 characters of the entity name are evaluated.
- When an entity is static - that means when it has no action attached
- it's parameters and skills can be read, but must not be changed
you = ent_for_name ("waffe1_mdl_012"); // get pointer to that entity
ent_for_file, ent_next, ent_status, str_for_entname