The parameters of all entities can be read, but changing the parameters only has an effect on dynamic entities (with an action attached, or created by ent_create ). A level must be loaded for this instruction to work .
| ENTITY* == NULL | Pointer to first entity |
| ENTITY* == last entity | NULL |
| ENTITY* == any entity | Pointer to next entity |
function hide_all_ents()
{
you = ent_next(NULL); // retrieve first entity
while (you) // repeat until there are no more entities
{
set(you,INVISIBLE); // make entity invisible
you = ent_next(you); // get next entity
}
}