


Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!


![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
-Select Spawnflag: AI_AXIS
targetname - auto_door_trig ( the same for all door_triggers in your map )
script_noteworthy - auto_door# ( give each door a unique nr )
script_flag - ** ( copy from the normal door trigger it 'belongs to' )
#include maps\_utility;
#include common_scripts\utility;
#include maps\_zombiemode_utility;
auto_doors_init()
{
triggers = getentarray( "auto_door_trig", "targetname" );
array_thread( triggers,::auto_doors_wait );
array_thread( triggers,::auto_doors );
}
auto_doors_wait()
{
wait 1;
self.active = false;
flag_wait( self.script_flag );
wait 3;
self.active = true;
}
auto_doors()
{
wait 1.5;
doors = getentarray( self.target, "targetname" );
for( i=0;i<doors.size;i++ )
{
doors[i].open = doors[i].origin+doors[i].script_vector;
doors[i].closed = doors[i].origin;
}
self.target = undefined;
self.state = "closed";
while( !self.active )
wait 0.5;
self close_doors( doors );
while(1)
{
self waittill( "trigger" );
playsoundatposition( "", doors[0].origin ); // ADD SOUNDS HERE, when the trigger activate's
switch( self.state )
{
case "closed":
self open_doors( doors );
wait 3;
self close_doors( doors );
break;
case "open":
self close_doors( doors );
break;
default:
break;
}
}
}
open_doors( doors )
{
self.state = "open";
for(i=0;i<doors.size;i++ )
{
doors[i] moveto( doors[i].open, 1, 0.3, 0.3 );
}
playsoundatposition( "", doors[0].origin ); // ADD SOUNDS HERE, opening of the doors
wait 1.5;
}
close_doors( doors )
{
while(1)
{
count = 0;
for(i=0;i<get_players().size;i++ )
{
if( get_players()[i] istouching( self ) )
{
count++;
break;
}
}
if( count == 0 )
{
zombs = getaiarray( "axis");
for(i=0;i<zombs.size;i++ )
{
if( zombs[i] istouching( self ) )
{
count++;
break;
}
}
}
if( count >= 1 )
{
wait 0.5;
continue;
}
self thread move_doors_closed( doors );
self.state = "closed";
break;
}
}
move_doors_closed( doors )
{
for(i=0;i<doors.size;i++ )
{
doors[i] moveto( doors[i].closed, 1, 0.3, 0.3 );
}
playsoundatposition( "", doors[0].origin ); // ADD SOUNDS HERE, closing of the doors
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |


![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
i have 2 way zombies for every door in my map, http://gyazo.com/14abaf5707ed187a46d4189b73e7ec3b , http://gyazo.com/197386cf8d6d44403ce7ff8cde56886f , which means i either have to have 2 trigger(which i do) or a 2 way zones, but neither works properly

wow ...looks good man thanks for sharing..is this from green house .....?
How did you get your color to look like that?
It looks much better than most of the color in other maps!
It it all in the custom texturing, or something else?
There's only some custom texture's on models, all other texture's are stock WaW. The colors are like that because of a custom vision-file
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
but you have zone activation on that trigger, if there is only 1 trigger wont it activate a zone i just came out from?