Modme Forums
Menu:

Need help with zones

Game Modding | Call of Duty: Black Ops 3 | Scripting


Matthew10:

I have made a map that im happy with but the zones are not working here is my map.gsc from main.....

//*****************************************************************************
// MAIN
//*****************************************************************************

function main()
{
zm_usermap::main();

level._zombie_custom_add_weapons =&custom_add_weapons;

//Setup the levels Zombie Zone Volumes
level.zones = [];
level.zone_manager_init_func =&usermap_test_zone_init;
init_zones[0] = "start_zone";
level thread zm_zonemgr::manage_zones( init_zones );

level.pathdist_type = PATHDIST_ORIGINAL;
}

function usermap_test_zone_init()
{
zm_zonemgr::add_adjacent_zone("start_zone", "z2", " enterz2");
zm_zonemgr::add_adjacent_zone("z2", "z3", " enterz3");
zm_zonemgr::add_adjacent_zone("z3", "z4", " enterz4");
zm_zonemgr::add_adjacent_zone("z4", "z5", " enterz5");


level flag::init( "always_on" );
level flag::set( "always_on" );
}

function custom_add_weapons()
{
zm_weapons::load_weapon_spec_from_table("gamedata/weapons/zm/zm_levelcommon_weapons.csv", 1);
}



I have 5 areas to go into any Ideas on what i do triggers script flags are set?


Spiki:

on the door trigger put a kvp called script_flag and the value should be enterz2 or enterz3 or ... depending on where you want to go