Jump to content
Devastator_cm

calculatng limitsArrayBottom for FFV

Recommended Posts

Hi Guys,

does anybody have any script to calculate the  limitsArrayBottom and limitsArrayTop for FFV cases? What is the best method to find the view area for a vehicle where there is ffv ?

Share this post


Link to post
Share on other sites

I tried to make a script which also helps to guess the angles without moving to devbranch. It will not give most likely the best results like vanilla tool but still helps.

Needs CBA3 

 

 

g_stop = false;
[] spawn
{
	
	while {!g_stop} do
	{
		_array = player weaponDirection currentWeapon player;
		_dir_degrees = (_array select 0) atan2 (_array select 1);
		_dir_degrees2 = ([player, currentWeapon player] call CBA_fnc_viewDir) select 1;
		hint format ["%1 | %2", -1*_dir_degrees, _dir_degrees2];
		sleep 0.01;
	};
}

 

  • Like 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×