Post: Enabled certain parts of menu on certain maps (Zombies)
06-03-2017, 02:09 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU community, does anyone know how to enable parts of the menu when on Zombies?

For example:

self addSubMenu("Lobby", "Lobby Mods");
self addOption("doHeart", "doHeart",::dhtoggle);
self addOption("Turn on Power", "Turn on Power",::turnpowerOn);
self addOption("Build All Tables", "Build All Tables",::buildTables);
self addOption("Toggle Deathbarrier", "Toggle Deathbarrier",::toggleDeathBarriers);
self addOption("Easter Egg Song", "Easter Egg Song",::EASTEREGGSONG);
self addOption("Longer Bleedout", "Longer Bleedout",::bleed);

then if the map is Buried it will be:

self addSubMenu("Lobby", "Lobby Mods");
self addOption("doHeart", "doHeart",::dhtoggle);
self addOption("Turn on Power", "Turn on Power",::turnpowerOn);
self addOption("Build All Tables", "Build All Tables",::buildTables);
self addOption("Toggle Deathbarrier", "Toggle Deathbarrier",::toggleDeathBarriers);
self addOption("Easter Egg Song", "Easter Egg Song",::EASTEREGGSONG);
self addOption("Longer Bleedout", "Longer Bleedout",::bleed);
self addOption("Buried Easter Egg", "Buried Easter Egg",::buriedEasterEgg);

Thanks.
06-03-2017, 07:11 AM #2
DoraTheKiller97
Treasure hunter
Originally posted by quacked420 View Post
Hello NGU community, does anyone know how to enable parts of the menu when on Zombies?

For example:

self addSubMenu("Lobby", "Lobby Mods");
self addOption("doHeart", "doHeart",::dhtoggle);
self addOption("Turn on Power", "Turn on Power",::turnpowerOn);
self addOption("Build All Tables", "Build All Tables",::buildTables);
self addOption("Toggle Deathbarrier", "Toggle Deathbarrier",::toggleDeathBarriers);
self addOption("Easter Egg Song", "Easter Egg Song",::EASTEREGGSONG);
self addOption("Longer Bleedout", "Longer Bleedout",::bleed);

then if the map is Buried it will be:

self addSubMenu("Lobby", "Lobby Mods");
self addOption("doHeart", "doHeart",::dhtoggle);
self addOption("Turn on Power", "Turn on Power",::turnpowerOn);
self addOption("Build All Tables", "Build All Tables",::buildTables);
self addOption("Toggle Deathbarrier", "Toggle Deathbarrier",::toggleDeathBarriers);
self addOption("Easter Egg Song", "Easter Egg Song",::EASTEREGGSONG);
self addOption("Longer Bleedout", "Longer Bleedout",::bleed);
self addOption("Buried Easter Egg", "Buried Easter Egg",::buriedEasterEgg);

Thanks.


In any case, if you wanted an option or options to do that, it needs a check for the level you're on.

        self addSubMenu("Lobby", "Lobby Mods");
self addOption("doHeart", "doHeart",::dhtoggle);
self addOption("Turn on Power", "Turn on Power",::turnpowerOn);
self addOption("Build All Tables", "Build All Tables",::buildTables);
self addOption("Toggle Deathbarrier", "Toggle Deathbarrier",::toggleDeathBarriers);
self addOption("Easter Egg Song", "Easter Egg Song",::EASTEREGGSONG);
self addOption("Longer Bleedout", "Longer Bleedout",::bleed);
if(level.script == "zm_buried")
{ self addOption("Buried Easter Egg", "Buried Easter Egg",::buriedEasterEgg); }


That's all there is to it! Smile

The following user thanked DoraTheKiller97 for this useful post:

DF_AUS

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo