![]() |
|
#1
|
|||
|
|||
|
AMission now includes following additional events
Code:
public virtual void OnBombExplosion(string title, double mass, Point3d pos, AiDamageInitiator initiator, int eventArgInt); public virtual void OnBuildingKilled(string title, Point3d pos, AiDamageInitiator initiator, int eventArgInt); public virtual void OnStationaryKilled(GroundStationary _stationary, AiDamageInitiator initiator, int eventArgInt); Code:
GroundStationary[] gpGroundStationarys();
GroundStationary[] gpGroundStationarys(string Country);
GroundStationary[] gpGroundStationarys(double x, double y, double r);
GroundStationary[] gpGroundStationarys(string Country, double x, double y, double r);
string gpTranslate(string msg, string language, int debugLevel);
string gpDictionaryFilePath { get; set; }
Code:
public interface GroundStationary
{
// Methods
void Destroy();
// Properties
string Category { get; }
string country { get; }
bool IsAlive { get; }
Point3d pos { get; }
string Title { get; }
AiGroundActorType Type { get; }
}
Code:
public class GroundBombExplosion
{
// Fields
public double Mass;
public Point3d pos;
public string Title;
// Methods
public GroundBombExplosion();
}
Code:
public class GroundBuilding
{
// Fields
public Point3d pos;
public string Title;
// Methods
public GroundBuilding();
}
So let the testing begin Last edited by FG28_Kodiak; 06-30-2012 at 06:29 AM. |
|
|