![]() |
|
#6
|
|||
|
|||
|
Just looked through your cs code and it looks great. I wish I could know c# half as good as you do. Sure I have many questions if you do not mind )
We use similar actor destroy code on Repka. It used to have an issue of stopping bomber engines when a player switches to a gunner or navigator position. Did you manage to solve this issue? Does adding this line helps in this respect or it was added for different purposes? Code:
foreach (AiActor actor in actorMain.Group().GetItems()) Quote:
Code:
List<Player> bluePlayers = new List<Player>();
foreach (Player p in GamePlay.gpRemotePlayers())
{
if (p.Army() == 2)
bluePlayers.Add(p);
}
GamePlay.gpHUDLogCenter(bluePlayers.ToArray(), msg);
Code:
private void serverMessage(string msg)
{
Player pl = GamePlay.gpPlayer();
Player[] players = { pl };
object[] args = { msg };
GamePlay.gpLogServer(players, msg, args);
}
|
|
|