Jump to content

Recommended Posts

 Hi guys,

does anyone of you know how can I find out if crew member uses the optics of the vehicle? i.e. commander of vehicle looks through its turret optics. How to find out this?

Share this post


Link to post
Share on other sites

Unfortunately this command will not work in Dedi as far as I see as there is no parameter which states for which object I am checking the view..

Share this post


Link to post
Share on other sites

//clients
fnc_cameracheck = {

check = cameraView == "GUNNER";
publicVariableServer "check";

};




//server
0 = remoteExecCall ["fnc_cameracheck",effectiveCommander _vehicle,false];
waitUntil {sleep 1; !isNil "check"};

if (check) then {

//commander vehicle uses optics do something

}else {
//commander vehicle uses no optics do something
};
check = nil;

 

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

×