Modme Forums
Menu:

Is It Possible To Activate A Zone By Touching It?

Game Modding | Call of Duty: Black Ops 3 | General Discussion


ModmeBot:

Thread By: Jake3050
I have a SoE style teleporter in my map and I was wondering is it possible to activate the zone where you teleport to from the teleporter? I was kind of shooting for a zone like how Buried has.


ModmeBot:

Reply By: Abnormal202

Jake3050
I have a SoE style teleporter in my map and I was wondering is it possible to activate the zone where you teleport to from the teleporter? I was kind of shooting for a zone like how Buried has.

You could easily activate that in script, when players first use the teleporter. You just need to use the line:
level flag::set("flag");

where the flag is what you put in your mapname.gsc for the zone you want to activate:
zm_zonemgr::add_adjacent_zone( "start_zone", "zone1", "flag" );


CaramelFudge:

Yes ice grenade did tutorial on this


CaramelFudge:

function iceGrenade_autoZones()
{
//One thread below for each trigger
thread triggerZone("Your zone here");

}

function triggerZone(ztarg)
{
runit = GetEnt( ztarg, "targetname");
runit waittill("trigger", player);
level flag::set( ztarg );
}


CaramelFudge:

youll obviously need to thread it through main funtcion sorry iom dunk


CaramelFudge:

then creat a triggr tyhroijh radiant make it a multi ple withdejh target naenm yior zone uhkjc


CaramelFudge:

tyhen fuck 1 sheeps to pass go