setMissileTarget – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
 
Line 7: Line 7:


But TBH I'm really not sure this detects accurately. Anyone who has more IQ and knowledge of ''CfgAmmo'' configuration, can give me/us more information about this? Does ''SensorsManagerComponent'' actually do something in these commands?
But TBH I'm really not sure this detects accurately. Anyone who has more IQ and knowledge of ''CfgAmmo'' configuration, can give me/us more information about this? Does ''SensorsManagerComponent'' actually do something in these commands?
-POLPOX (Jun 25 1603 UTC)

Revision as of 18:03, 25 June 2019

What exactly is the condition to work setMissileTarget and setMissileTargetPos?

I searched config upside down and so far, I think this is the way to detect the ammo class has ability to use setMissileTargetPos.

_ammoClass = (configFile >> "CfgAmmo" >> _class); ({getText (_x >> 'componentType') == 'LaserSensorComponent'} count ("true" configClasses (_ammoClass >> "Components" >> "SensorsManagerComponent" >> "Components")) >= 1 and (getNumber (_ammoClass >> 'manualControl') == 1))

But TBH I'm really not sure this detects accurately. Anyone who has more IQ and knowledge of CfgAmmo configuration, can give me/us more information about this? Does SensorsManagerComponent actually do something in these commands?

-POLPOX (Jun 25 1603 UTC)