Remove sentries?

Posts 1–5 of 5 · Page 1 of 1
Remove sentries?
Hi does anyone know where I can get a list of entity names or the entity name for sentry guns? I need to remove them after a round ends in zmod, I just need the name and I have no clue what it is.
Quote Originally Posted by jimmynguyen3030 View Post
sentry_minigun_mp
Doesn't work for me. I'm using the function level deletePlacedEntity
Let me see if I can't iterate through all the instances with similar name and key...
Code:
ents = getentarray( "script_model", "classname" );
foreach(ent in ents) {
    if(isSubStr(ent.model, "sentry"))
        ent delete();
}
Try that?
Quote Originally Posted by master131 View Post
Code:
ents = getentarray( "script_model", "classname" );
foreach(ent in ents) {
    if(isSubStr(ent.model, "sentry"))
        ent delete();
}
Try that?
Okay you serious gotta tell me where you get the prototype specs for objects and stuff, cause I go to mod respository and they dont have jack.
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us