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

Name is the actor name ingame.
TypedName is only the tactical number.

Example:
Code:
    public override void OnPlaceEnter(Player player, AiActor actor, int placeIndex)
    {
        base.OnPlaceEnter(player, actor, placeIndex);
        GamePlay.gpLogServer(null, "Name: {0}", new object[] { (actor as AiAircraft).Name() });
        GamePlay.gpLogServer(null, "TypedName: {0}", new object[] { (actor as AiAircraft).TypedName() });
    }
Result:
Name: 0:BoB_LW_LG2_I.000
TypedName: 1 +

If the player use his own number, you will get this number.
Reply With Quote