try my correction above, it should work.
GamePlay.gpAirGroups(army) returns AiAirGroup[]
AiAirGroup.Candidates returns AiAirGroup[]
You need an Actor (AiAircraft) for saytogroup
so you should use
AiAirGroup.GetItems() returns AiActor[]
you get no error because AiAirGroup is also an Actor, but in these case the wrong one.
Last edited by FG28_Kodiak; 03-07-2012 at 07:15 AM.
|