View Single Post
  #6  
Old 02-29-2012, 09:28 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Have tried some ingame columns and custom columns also. Ive got always a trigger (TGroupDestroyed 50%)

used this mission
Code:
[PARTS]
  core.100
  bob.100
[MAIN]
  MAP Land$Online_Cobra_(8x8)
  BattleArea 0 0 81920 81920 10000
  TIME 12
  WeatherIndex 0
  CloudsHeight 1000
  BreezeActivity 10
  ThermalActivity 10
  player BoB_LW_LG2_I.000
[GlobalWind_0]
  Power 3.000 0.000 0.000
  BottomBound 0.00
  TopBound 1500.00
  GustPower 5
  GustAngle 45
[splines]
[AirGroups]
  BoB_LW_LG2_I.01
[BoB_LW_LG2_I.01]
  Flight0  1
  Class Aircraft.Bf-109E-4
  Formation FINGERFOUR
  CallSign 26
  Fuel 100
  Weapons 1
  Skill 0.3 0.3 0.3 0.3 0.3 0.3 0.3 0.3
[BoB_LW_LG2_I.01_Way]
  NORMFLY 34708.43 19739.43 500.00 300.00
  NORMFLY 35478.40 21053.40 500.00 300.00
[CustomChiefs]
  Vehicle.custom_chief68 $core/icons/tank.mma
[Vehicle.custom_chief68]
  Car.Guy_Lizard
  Car.Ford_V8_E917_open
  Car.Ford_V8_E917_open
  Car.Ford_V8_E917_open
  Car.Morris_CS8_tent
  Car.Morris_CS8_tent
[Chiefs]
  0_Chief Vehicle.custom_chief68 gb 
[0_Chief_Road]
  34625.00 21095.09 38.40  0 9 6.11
  S 15 1 0.71 10.00 P 34678.90 21114.63
  S 15 4 0.10 20.00 P 39425.20 20032.66
  39584.00 20128.00 38.40
  S 71 0 1.00 20.00 P 39641.00 20213.00
  S 71 0 0.62 20.00 P 39937.95 20543.26
  S 72 0 0.43 20.00 P 40035.79 20599.33
  S 72 0 0.45 40.00 P 40064.12 20630.78
  40123.36 20642.46 38.40
[Stationary]
[Buildings]
[BuildingsLinks]
[Trigger]
  trigger TGroupDestroyed 0_Chief 50
and this to show the trigger
Code:
using System;
using System.Collections;
using System.Collections.Generic;
using maddox.game;
using maddox.game.world;

public class Mission : AMission
{
    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 });
        
    }
}
Reply With Quote