Isn´t ent_for_name an option for that?

Quote:


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.





no science involved