View Single Post
  #2  
Old 02-29-2012, 10:34 AM
hc_wolf hc_wolf is offline
Approved Member
 
Join Date: Jul 2010
Posts: 439
Default

Quote:
Originally Posted by FG28_Kodiak View Post
Yes they working without problem for me, not tested with your example.

For testing i use this code:
Code:
    public override void OnTrigger(int missionNumber, string shortName, bool active)
    {
        base.OnTrigger(missionNumber, shortName, active);
        
        GamePlay.gpLogServer(null, "missionNumber: {0}, shortName: {1}, active: {2}", new object[] { missionNumber, shortName, active });
        
    }


I just posted on this myself and I do not think the TGroupDestroyed is working for vehicles, trains and moving ground units,

TGroupDestroyed is only working for air groups

TGroundDestroyed is workiing for static units. So you can destroy static objects

but the TGroupDestroyed does not seem to be triggering for gound units like 0_Chief only air groups. or prove me wrong????


see script here

http://forum.1cpublishing.eu/showthread.php?t=30069
__________________
__________________
Win7, 64bit Ultra
Asus P8P67Pro MB
Intel i7-2600K
Coursair 16GB (4x 4GB), DDR3-1600MHz
Gainward Nvidia 580GTX 3GB DDR5
850-Watt Modular Power Supply
WIN7 and COD on Gskill SSD 240GB
40" Panasonic LCD
TrackIR5 +
Thrustmaster Warthog stick, throttle & pedals

Last edited by hc_wolf; 02-29-2012 at 10:51 AM. Reason: update
Reply With Quote