Kodiak your script to destroy planes works fine.i tried it with 6He's and they disappeared after a minute like they should.yesterday i tried to replace the He's with Hurricanes and edited the script to destroy them instead of He's.it didnt work cause i used a wrong name for them.so i looked again at your script and how you defined the name for the He's.your script states He-111P-2, but i in the FMB the He's are defined as He 111P-2...so without the first hyphen.today i looked in the mission file itself and there the aircraft is defined as in your script...so i assume that if i want to destroy hurricanes or any other planes, i have to look in the .mis file first to know the correct designation for them...!?...is that correct?
i also tried to destroy only certain groups, so that not all He's disappear after a minute. so i added two seperate flights of He's and displaced the section:
case "bob:Aircraft.He-111H-2":
with:
case "bob:Aircraft.0.BoB_LW_KuFIGr_706.03":
didnt work, so i tried:
case "bob:AirGroup.0.BoB_LW_KuFIGr_706.03":
...but that didnt work as well...
i also tried to destroy only one single plane of the group, but that didnt work either, but im sure its possible.
another question about this script:
as it is now, the planes will disappear after a period of 60seconds.
but do the 60seconds count from the beginning of the mission, or from the moment when the airplane is spawned?
cause if i would have different flights of He's all spawning at different times, but after 60seconds of the mission they destroy themself again, all flights which would normally spawn after one minute, wouldnt appear at all, because they are destroyed before they are born..
__________________
Last edited by David198502; 10-16-2011 at 01:55 PM.
|