View Single Post
  #1  
Old 06-29-2012, 05:06 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default New possiblities in BETA PATCH v.1.07.18301 - June 29, 2012

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);
GamePlay also gets something new
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; }
New classes:
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 05:29 AM.
Reply With Quote