![]() |
|
#3
|
|||
|
|||
|
Quote:
Code:
public override void OnPlaceEnter(Player player, AiActor actor, int placeIndex)
{
base.OnPlaceEnter(player, actor, placeIndex);
GamePlay.gpLogServer(null, "{0} uses {1} Type {2}", new object[] { player.Name(), player.Place().Name(), (actor as AiAircraft).InternalTypeName() });
}
Kodiak uses 0:BoB_LW_LG2_I.000 Type bob:Aircraft.Ju-88A-1 player.Name() => player callsign player.Place().Name() => 0:BoB_LW_LG2_I.000 (actor as AiAircraft).InternalTypeName() => bob:Aircraft.Ju-88A-1 You can get the actual playerplane with AiAircraft airc1 = (AiAircraft)GamePlay.gpPlayer().Place(); also. Last edited by FG28_Kodiak; 08-18-2011 at 09:14 AM. |
| Thread Tools | |
| Display Modes | |
|
|