View Single Post
  #4  
Old 03-07-2012, 07:11 AM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

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.
Reply With Quote