Posted By: Helghast
ent_next ignores last model placed in WED. - 04/06/10 13:48
As the subject says.
If I use the snippet from the manual (under ent_next);
And the last object in the level list is a model, that entity will not be changed by this code...
regards,
If I use the snippet from the manual (under ent_next);
Code:
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 } }
And the last object in the level list is a model, that entity will not be changed by this code...
regards,