#1
|
|||
|
|||
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); 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 05:29 AM. |
#2
|
|||
|
|||
Am I reading this wrong or are these ways to designate static area targets and check whether they've been destroyed or not?
|
#3
|
|||
|
|||
I hope so, not testing it so far
|
#4
|
|||
|
|||
|
#5
|
|||
|
|||
Thanks for the heads up. Gotta try it out!
__________________
Core i7 3930K @ 4.8GHz; 16Gb DDR3 (Vengeance); nVidia GTX580; OS disk: 150Gb 10000rpm; SIM disk: 300Gb 10000rpm; Windows 7 x64 Ultimate |
#6
|
||||
|
||||
hey Kodiak, do you know if its now possible to let ground targets disappear after they have reached their last waypoint?
|
#7
|
|||
|
|||
Not tested so far, playing around with the new possibilities at the moment.
Hm where is my testmission for groundactors .... |
#8
|
||||
|
||||
That would be great if static ground targets can be destroyed, test feedback please!
__________________
ASUS Sabertooth MB--Intel 2600k@4.7--EVGA GTX580 3GB--Corasir 1200 watt psu--Corsair 16gb 1866--Corsair H70 cooler--Corsair 650d case--OCZ Vertex 3--Track IR5--CH Eclipse Yoke--CH Trottle Quadrant--CH MFP--CH Rudders-MSFF2 Last edited by ATAG_MajorBorris; 06-30-2012 at 03:16 PM. |
#9
|
|||
|
|||
Quote:
Quote:
gpGroundStationarys() - array whith all static objects in battle. |
|
|