i am working on Missile SimObject API, and start with Missile Sample Code for SimObject API, So i have an issue with SimConnect "WeaponDetonated" event which is not call when weapon destroyed or collide with target objects.
i found this sample code for reporting to simconnect about Weapon Detonation :
Code: Select all
SIMCONNECT_DATA_OBJECT_DAMAGED_BY_WEAPON WeaponDamageData = { missileID, attackerID, targetID };
SimConnect_ReportWeaponDamaged(g_hSimConnect, WeaponDamageData);
Any one from LM?
Thanks