Results 1 to 10 of 39

Thread: PICK up and MOVE MG42 Mod (Mobile MG42)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Private First Class G-Stuff002's Avatar
    Join Date
    Jan 2018
    Posts
    212
    Thanks
    42
    Thanked 109 Times in 107 Posts
    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();
    }

  2. 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
  •