![]() |
|
#1
|
|||
|
|||
![]()
What would be the difference with (actor as AiAircraft).Name() ?
|
#2
|
|||
|
|||
![]()
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() }); } Name: 0:BoB_LW_LG2_I.000 TypedName: 1 + If the player use his own number, you will get this number. |
#3
|
|||
|
|||
![]()
Thank you very much!
|
![]() |
|
|