![]() |
#1
|
|||
|
|||
![]()
I'm testing out triggers and was wondering if the TGroupDestroyed or TGroundDestroyed are working.
The triggers are defined in the .mis file as: Code:
[Trigger] D3_red_dest TGroundDestroyed 85 272438 200346 1250 Red_Fuel_Depot TGroundDestroyed 75 267827 197993 550 Blue_Fuel_Depot TGroundDestroyed 75 272015 208932 350 D3_blu_dest TGroundDestroyed 85 271991 205306 1100 De_Fuel_Column1 TGroupDestroyed 20_Chief 80 De_Bofors_Column TGroupDestroyed 22_Chief 80 GB_AAA_Column2 TGroupDestroyed 25_Chief 80 GB_AAA_Column1 TGroupDestroyed 26_Chief 80 Code:
public override void OnTrigger(int missionNumber, string shortName, bool active) { base.OnTrigger(missionNumber, shortName, active); System.Console.WriteLine("Trigger (" + shortName + ") Mission #(" + missionNumber.ToString() + ") active(" + active.ToString() + ")"); } WildWillie |
|
|