![]() |
|
#3
|
|||
|
|||
|
Thanks Kodiak. I altered the script (below x 2) to eliminate if/break issues. Still doesn't work though
Code:
private void sayMessageTo(int army, string msg)
{ // send a speech message to all players in specified army (1=red; 2=blue)
foreach (AiAircraft a in GamePlay.gpAirGroups(army))
{
a.SayToGroup(a.AirGroup(), "Nice_shot"); // for testing
}
}
Code:
private void sayMessageTo(int army, string msg)
{ // send a speech message to all players in specified army (1=red; 2=blue)
sendScreenMessageTo(1, "saymessage", null); // testing
foreach (AiAircraft a in GamePlay.gpAirGroups(1))
{
a.SayToGroup(a.AirGroup(), "Nice_shot");
}
foreach (AiAircraft a in GamePlay.gpAirGroups(2))
{
a.SayToGroup(a.AirGroup(), "Nice_shot");
}
}
__________________
When one engine fails on a two engine bomber, you will always have enough power left to get to the scene of the crash. Get the latest COD Team Fusion patch info HERE Last edited by salmo; 03-07-2012 at 08:14 AM. |
| Thread Tools | |
| Display Modes | |
|
|