FG28_Kodiak
06-29-2012, 05:06 PM
AMission now includes following additional events
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);
GamePlay also gets something new
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; }
New classes:
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; }
}
public class GroundBombExplosion
{
// Fields
public double Mass;
public Point3d pos;
public string Title;
// Methods
public GroundBombExplosion();
}
public class GroundBuilding
{
// Fields
public Point3d pos;
public string Title;
// Methods
public GroundBuilding();
}
So let the testing begin :cool:
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);
GamePlay also gets something new
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; }
New classes:
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; }
}
public class GroundBombExplosion
{
// Fields
public double Mass;
public Point3d pos;
public string Title;
// Methods
public GroundBombExplosion();
}
public class GroundBuilding
{
// Fields
public Point3d pos;
public string Title;
// Methods
public GroundBuilding();
}
So let the testing begin :cool: