Page 1 of 1

no targetname

Posted: Wed Sep 29, 2004 12:34 am
by shift9999
Is there a way to remove Entity's that have no targetname through scripting?
If not, is there a way to do it in radiant without a client having to have the file?

I just want to get them so i can pass a delete command to them.

Posted: Wed Sep 29, 2004 2:08 am
by lizardkid
well, all entities have targetnames. most are like e1 e2 e3 something to that extent.

finding out the targetnames however would be a challenge.

you could of course spawn a trigger_multiple with setthreads and cnt 1 etc etc only affecting AI etc etc delete that AI when it spawn.

Posted: Wed Sep 29, 2004 5:03 am
by shift9999
Could it have been lost in the conversion? i converted the bsp to map and fired up the radiant to find the targetnames. I found most of them i wanted but some entity's didn't have targetnames. I have only checked this on AI entity models. Since i don't do much mapping, mostly coding, i just grabbed the first mohaa bspconverter i could find.

It is the one made by: "Kenter Ro (Japnese Letters to English Letters)"

Taken from the copyright info

Posted: Wed Sep 29, 2004 5:51 am
by bdbodger
try removeclass for example removeclass actor for ai's or removeclass script_model etc