View Single Post
  #2  
Old 04-08-2012, 09:06 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

Quote:
Originally Posted by 5./JG27.Farber View Post
Triggers are the next obvious solution. However Triggers are a dead cert! There is no room for error which is unrealistic. Also the Orange writing is a massive immertion killer.
In my Coops i use triggers, but without Orange writing, i simulate a radio message.
Code:
if ("EnterAreaM8".Equals(shortName))
        {
            int i = 0;

            AiActor actor = GamePlay.gpActorByName("0:BoB_LW_JG51_III.000");
           

            (actor as AiAircraft).SayToGroup(actor.Group() as AiAirGroup, "Enemy_planes");

            Timeout(i += 2, () =>
            {
                (actor as AiAircraft).SayToGroup(actor.Group() as AiAirGroup, "In_square");
            });

            Timeout(i += 2, () =>
            {
                (actor as AiAircraft).SayToGroup(actor.Group() as AiAirGroup, "M");
            });
            Timeout(i += 2, () =>
            {
                (actor as AiAircraft).SayToGroup(actor.Group() as AiAirGroup, "n8");
            });

            GamePlay.gpGetTrigger(shortName).Enable = false;
        }
Reply With Quote