-
22nd February 2018, 17:57
#6
Private First Class
In zzz_allcustom_v1a.iwd\maps\mp\gametypes\_mapentity .gsc
I found this script but i dont know what is do it
////Worm's REmove MG42 script////
Remove_Map_Entity()
{
if(getCvar("scr_allow_turret") == "")
setCvar("scr_allow_turret", "1");
level.allow_turret = getCvarInt("scr_allow_turret");
if (!level.allow_turret)
{
deletePlacedEntity("misc_turret");
deletePlacedEntity("misc_mg42");
}
}
deletePlacedEntity(entity)
{
entities = getentarray(entity, "classname");
for(i = 0; i < entities.size; i++)
entities[i] delete();
}
-
The Following User Says Thank You to G-Stuff002 For This Useful Post:
kubislav23 (22nd February 2018)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules