

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!It gives that message if the center script struct is still touching a door. If it isn't touching the door then maybe the istouching() function is giving an error for some reason.
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
I will put it up tomorrow in wip. I have bo2 so I will have a look, I just never scripted anything before
Nice work
+1
I even removed the door and still have the message pop up
CheckDoors(){
trig = spawn("script_model",self.origin );
trig setmodel("tag_origin");
doorTrigs = getentarray("zombie_door", "targetname");
for(d=0;d<doorTrigs.size;d++){
door = getent(doorTrigs[d].target, "targetname");
if(trig istouching(door)){
trig delete();
return 1;
}
}
return 0;
}
CheckDoors(){
trig = spawn("script_model",self.origin );
trig setmodel("tag_origin");
doorTrigs = getentarray("zombie_door", "targetname");
for(d=0;d<doorTrigs.size;d++){
doors = getentarray(doorTrigs[d].target, "targetname");
for(door =0;door<doors.size;door++){
if(trig istouching(doors[door])){
trig delete();
return 1;
}
}
}
return 0;
}
im not sure but once yaphil said that you cant use istouching() function on a struct as it doesnt actually exist as an entity which can be "touched"
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
damn cool man +1
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
might just need to use this in Origins![]()