![]() |
|
#5
|
|||
|
|||
|
Quote:
But for this topic I don't to delete in a radius area, I want to delete every object I load in a sub mission. Example, I load a bomber mission, the targets spawn at same time as bomnbers. Then 1 hour later if the bombers did not make it or if they did, all Ground objects that were spawned in on that submission are removed. so maybe I use the below and place it in the sub mission .cs file Code:
public static void RemoveStaticAt(string country)
{
foreach (GroundStationary stationary in GamePlay.gpGroundStationarys(country))
{
If country = de;
{
stationary.Destroy();
}
}
}
__________________
__________________ Win7, 64bit Ultra Asus P8P67Pro MB Intel i7-2600K Coursair 16GB (4x 4GB), DDR3-1600MHz Gainward Nvidia 580GTX 3GB DDR5 850-Watt Modular Power Supply WIN7 and COD on Gskill SSD 240GB 40" Panasonic LCD TrackIR5 + Thrustmaster Warthog stick, throttle & pedals Last edited by hc_wolf; 10-16-2012 at 01:54 AM. |
| Thread Tools | |
| Display Modes | |
|
|