Post: How Do I Add Unique Options On Certain Maps? (Zombies)
09-05-2015, 02:24 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Im Making A Zombies GSC And I need To Know How To Add Options On Certain Maps. Can Anyone Help? Choco
(adsbygoogle = window.adsbygoogle || []).push({});
09-05-2015, 02:26 AM #2
itsSorrow
In my man cave
Originally posted by ThrzModding View Post
Im Making A Zombies GSC And I need To Know How To Add Options On Certain Maps. Can Anyone Help? Choco


Uhm idk google helps?

    
if (getDvar("mapname") == "zombiemapnamehere")
{
09-05-2015, 07:58 PM #3
TehMerkMods
I’m too L33T
Originally posted by GentleSlugger View Post
Uhm idk google helps?

    
if (getDvar("mapname") == "zombiemapnamehere")
{


nice to finally see you helping m8 <3

The following user thanked TehMerkMods for this useful post:

-Numb
09-05-2015, 08:34 PM #4
itsSorrow
In my man cave
Originally posted by TehMerkMods View Post
nice to finally see you helping m8 <3


lollol
09-15-2015, 06:13 PM #5
RebugCFW--
Save Point
Choco www.YouTube.com/user/ThrzModding
09-16-2015, 04:49 PM #6
Yeah you can do it with a if clause.

- You can say just on this map like this :

    
if(getMap() == "zm_MAPNAME") // Than it just showen up on this map !
addOption(......);

if(!getMap() == "zm_MAPNAME") // You can also do it with more or not : Not = ! (before the getMap())
addOption(......);

Here with this you can get a return function with the level map name:
    
getMap()
{
return level.script;
}


Here a List with all GSC Zombie map names:
    
zm_nuked - Nuketown
zm_transit - Tranzit
zm_highrise - Die Rise
zm_prison - MOTD
zm_buried - Buried
zm_tomb - Origins


You can also use include array (Fx,weapons,models,positions,codes.....):


For example a FX in the level._effect array:
    
ElectricMan
If(isDefined(level._effect["HERE A FX NAME FROM THE CURRENT FUNCTION"]))
addOption(......);




I hope this helps Happy
CabCon

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo