• 0
Alexis

1st view in rad zone

Question

Hi! I tried make only first-persion look in rad zone

 

while {player call ExileClient_util_world_isInRadiatedZone} do {
	if (!(cameraView in ["INTERNAL","GUNNER"]))  then {
		player switchCamera "INTERNAL";
		systemChat "U in rad zone!";
	};
	sleep 0.03;
};

I make this little script, but it works only once! Does anyone have a ready solution, or can help with something?

Share this post


Link to post
Share on other sites

4 answers to this question

  • 0
1 hour ago, Alexis said:

Hi! I tried make only first-persion look in rad zone

 


while {player call ExileClient_util_world_isInRadiatedZone} do {
	if (!(cameraView in ["INTERNAL","GUNNER"]))  then {
		player switchCamera "INTERNAL";
		systemChat "U in rad zone!";
	};
	sleep 0.03;
};

I make this little script, but it works only once! Does anyone have a ready solution, or can help with something?

[] spawn
{
	while {true} do
	{
		while {player call ExileClient_util_world_isInRadiatedZone} do
		{
			if !(cameraView in ["INTERNAL","GUNNER"])  then 
			{

				player switchCamera "INTERNAL";
				systemChat "U in rad zone!";
			};
			sleep 0.03;	
		};
		uiSleep 5;
	};
};
Edited by StokesMagee
1 person likes this

Share this post


Link to post
Share on other sites
  • 0
4 minutes ago, StokesMagee said:

TFS_fnc_inRadiationZone = 
{
	while {player call ExileClient_util_world_isInRadiatedZone} do 
	{
		if !(cameraView in ["INTERNAL","GUNNER"])  then 
		{
			player switchCamera "INTERNAL";
			systemChat "U in rad zone!";
		};
		sleep 0.03;
	};
	[] spawn TFS_fnc_checkInZone;
	true
};

TFS_fnc_checkInZone =
{
	waitUntil {player call ExileClient_util_world_isInRadiatedZone};
	[] spawn TFS_fnc_inRadiationZone;
	true
};

[] spawn TFS_fnc_checkInZone;

Thanks)))

Share this post


Link to post
Share on other sites
Advertisement
  • 0
3 minutes ago, Alexis said:

Thanks)))

use the updated one

1 person likes this

Share this post


Link to post
Share on other sites
  • 0
47 minutes ago, StokesMagee said:

use the updated one

Thanks buddy, all worked successfully))

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.