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.