View Single Post
  #3  
Old 06-27-2012, 09:45 AM
moggel moggel is offline
Approved Member
 
Join Date: Mar 2011
Posts: 70
Default

Quote:
Originally Posted by FG28_Kodiak View Post
I've tried it by myself -> no problem i select 64Sqn early and get this, so moggel seems to make a mistake
Code:
GamePlay.gpLogServer(null, "GroupName: {0}", new object[]{(actor as AiAircraft).AirGroup().Name()});
gives
GroupName: 1:BoB_RAF_F_64Sqn_Early.01
Code:
GamePlay.gpLogServer(null, "RegimentName: {0}", new object[] { (actor as AiAircraft).Regiment().name()});
gives
RegimentName: BoB_RAF_F_64Sqn_Early
Hehe, well...
I was a bit unclear it seems. What I tried to explain to Osprey (who is my "project manager" and "customer" for the "Fighter Command" project ) is that the spawn point governs the "Regiment". If you configure the spawn point to a certain squadron that's what the regiment will be. If you don't configure it (leave it at "<Any>") you can select a "Regiment" yourself.

This whole discussion came from a desire to have the actual virtual squadron reflected by the "Regiment" property but that, as far as I've seen, cannot be done. Could you confirm I've got this right Kodiak or am I still far out there in the fog?
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate
Reply With Quote