
Posts
308
Respect
50Add +1
Forum Rank
Perk Hacker
Primary Group
Donator ♥
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 released one or more maps to the UGX-Mods community. |
![]() | 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 |

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
You can change vision files easily, just like done in laststand or solo quick revive. What you will have to watch out for, and is simple to do, is checking when they are in this area, even when they are downed, or die, because when they spawn back or get up the vision file will be set back.
and implement it into my map!![]() | Has released one or more maps to the UGX-Mods community. |
![]() | 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'm really bad with scripting so I was wondering how I would Script A Change In Vision on walk throughand implement it into my map!
I can do it later, if that is what you need. Or maybe someone will come across sooner. It's pretty simple, but requires some editing in laststand I think, or may be easily handled with notifies... maybe, in order to handle the revives and respawns. Or just a while loop and a player variable maybe... Many ways
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Well that's how you would do it. Sounds like you want someone to script it for you.I can do it later, if that is what you need. Or maybe someone will come across sooner. It's pretty simple, but requires some editing in laststand I think, or may be easily handled with notifies... maybe, in order to handle the revives and respawns

![]() | Has released one or more maps to the UGX-Mods community. |
![]() | 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 |
That would be great! I get confused with scripting
Credit Will Of Course Be Given.
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#include maps\_utility;
init(){
thread PlayerVisionSetup();
}
PlayerVisionSetup(){
flag_wait("all_players_connected");
players = get_players( );
for( i=0;i<players.size;i++ ){
players[i] thread CheckPlayerVision();
players[i] thread WatchMe();
}
}
WatchMe(){
while(1){
self waittill_any( "death","spawn","fake_death" );
self.visioncheck = "zombie_factory";
wait(1);
}
}
CheckPlayerVision(){
self endon( "disconnect" );
newVision = "sophia";//This name would be the vision file name to set when in those areas
defaultVision = "zombie_factory";//i assume this is your default one, if not change it then
self.visioncheck = defaultVision;
transition_time = .5;
while(1){
if(is_player_valid( self )){
if(self IsTouchingAny( newVision ) && (!IsDefined( self.visioncheck ) || self.visioncheck != newVision)){
self SetMyVision(newVision,transition_time);
}else if(IsDefined( self.visioncheck ) && self.visioncheck != defaultVision){
self SetMyVision(defaultVision,transition_time);
}
}
wait(.5);
}
}
SetMyVision(vision,time){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawn" );
self set_vision_set( vision,time );
self.visioncheck = vision;
}
IsTouchingAny(value){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawn" );
ents = GetEntArray( value,"targetname" );
for( i=0;i<ents.size;i++ ){
if(self IsTouching( ents[i] )) return true;
}
return false;
}


![]() | 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. |
![]() | 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'm going to test this out now, I'll tell you how it goes thanks a bunch!
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#include maps\_utility;
init(){
thread PlayerVisionSetup();
}
PlayerVisionSetup(){
flag_wait("all_players_connected");
players = get_players( );
for( i=0;i<players.size;i++ ){
players[i] thread CheckPlayerVision();
players[i] thread WatchMe();
}
}
WatchMe(){
while(1){
self waittill_any( "death","spawn","fake_death" );
self.visioncheck = "zombie_factory";
wait(1);
}
}
CheckPlayerVision(){
self endon( "disconnect" );
newVision = "sophia";//This name would be the vision file name to set when in those areas
defaultVision = "zombie_factory";//i assume this is your default one, if not change it then
self.visioncheck = defaultVision;
transition_time = .5;
while(1){
if(is_player_valid( self )){
if(self IsTouchingAny( newVision ) && (!IsDefined( self.visioncheck ) || self.visioncheck != newVision)){
self SetMyVision(newVision,transition_time);
}else if(IsDefined( self.visioncheck ) && self.visioncheck != defaultVision){
self SetMyVision(defaultVision,transition_time);
}
}
wait(.5);
}
}
SetMyVision(vision,time){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawn" );
self set_vision_set( vision,time );
self.visioncheck = vision;
}
IsTouchingAny(value){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawn" );
ents = GetEntArray( value,"targetname" );
for( i=0;i<ents.size;i++ ){
if(self IsTouching( ents[i] )) return true;
}
return false;
}

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Any Idea why? when i looked at it looked fine to me! I think I have an idea on how to fix it but if you know what's wrong just let me know. Many Thanks![]() | Has released one or more maps to the UGX-Mods community. |
![]() | 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 |
It worked for the most part no errors but It's constantly flashing in the transition phaseAny Idea why? when i looked at it looked fine to me! I think I have an idea on how to fix it but if you know what's wrong just let me know. Many Thanks
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#include maps\_utility;
init(){
thread PlayerVisionSetup();
}
PlayerVisionSetup(){
flag_wait("all_players_connected");
players = get_players( );
for( i=0;i<players.size;i++ ){
players[i] thread CheckPlayerVision();
players[i] thread WatchMe();
}
}
WatchMe(){
while(1){
self waittill_any( "death","spawned","fake_death" );
self.visioncheck = "zombie_factory";
wait(1);
}
}
CheckPlayerVision(){
self endon( "disconnect" );
newVision = "sophia";//This name would be the vision file name to set when in those areas
defaultVision = "zombie_factory";//i assume this is your default one, if not change it then
self.visioncheck = defaultVision;
transition_time = .5;
while(1){
if(is_player_valid( self )){
if(self IsTouchingAny( newVision ) && (!IsDefined( self.visioncheck ) || self.visioncheck != newVision)){
self SetMyVision(newVision,transition_time);
}else if(!self IsTouchingAny( newVision ) && IsDefined( self.visioncheck ) && self.visioncheck != defaultVision){
self SetMyVision(defaultVision,transition_time);
}
}
wait(.5);
}
}
SetMyVision(vision,time){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawned" );
self set_vision_set( vision,time );
self.visioncheck = vision;
}
IsTouchingAny(value){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawned" );
ents = GetEntArray( value,"targetname" );
for( i=0;i<ents.size;i++ ){
if(self IsTouching( ents[i] )) return true;
}
return false;
}
!self IsTouchingAny( newVision ) &&
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#include maps\_utility;
init(){
thread PlayerVisionSetup();
}
PlayerVisionSetup(){
flag_wait("all_players_connected");
players = get_players( );
for( i=0;i<players.size;i++ ){
players[i] thread CheckPlayerVision();
players[i] thread WatchMe();
}
}
WatchMe(){
while(1){
self waittill_any( "death","spawned","fake_death" );
self.visioncheck = "zombie_factory";
wait(1);
}
}
CheckPlayerVision(){
self endon( "disconnect" );
newVision = "sophia";//This name would be the vision file name to set when in those areas
defaultVision = "zombie_factory";//i assume this is your default one, if not change it then
self.visioncheck = defaultVision;
transition_time = .5;
while(1){
if(is_player_valid( self )){
if(self IsTouchingAny( newVision )){
if(!IsDefined( self.visioncheck ) || self.visioncheck != newVision){
self SetMyVision(newVision,transition_time);
}
}else if(IsDefined( self.visioncheck ) && self.visioncheck != defaultVision){
self SetMyVision(defaultVision,transition_time);
}
}
wait(.5);
}
}
SetMyVision(vision,time){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawn" );
self set_vision_set( vision,time );
self.visioncheck = vision;
}
IsTouchingAny(value){
self endon( "disconnect" );
self endon( "death" );
self endon( "fake_death" );
self endon( "spawn" );
ents = GetEntArray( value,"targetname" );
for( i=0;i<ents.size;i++ ){
if(self IsTouching( ents[i] )) return true;
}
return false;
}

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
