Lua Help with a Teleported S-300 Unit
Posted: Sun Mar 12, 2017 8:34 pm
I continue to play with my Israel attacking Natanz scenario. After the recent nuclear deal, I have added a S-300 for the Iranians to defend Natanz. Other than some antiquated SAMs, the S-300 is really the only thing that can destroy the Israeli planes on a consistent basis.
By play testing, I observed that if I immediately teleport the S-300 into the scenario, then it will immediately open up at long distance. Since it is a long-distance shooter, its success is reduced due to the distance.
I then changed some things around and allowed it to be teleported in (allowed to shoot) about seven minutes later,as the SEAD units were closing in to the complex. In other words, I waited. This had much more success for the Iranians. In fact, the Iranians (the S-300) now shoots down anywhere from 3 to 8 Israeli SEAD units. Losing that many A/C means that Israel loses the scenario.
Finally, (and this is the part that I need help with), I took this one step further. I delayed the teleportation of the S-300 to an even later time (we are talking 3 to 5 minutes later than before) when the S-300 would arrive and be able to shoot at the F-15Is (the attackers) rather than just the SEAD units. The F-15Is are the only ones that can carry the GBU-28 (ground penetraters) so they NEED to be able to hit the under ground targets to win the game. Obviously, if Iran destroys the attackers, it can win the game, simply by not losing because they can't be hit. So, the idea is to toy with the concept of having the S-300 come a few minutes later than what is currently programmed, so that it can attack the F-15Is, rather than the SEAD units.
But, I still only want the S-300 to come in 95% of the time, AND if it does it arrives at the same location, but it arrives at one of two different times. I know that that sounds like a lot.
Any thoughts as to if, and how, I could make that happen?
I have uploaded the file.
Doug
By play testing, I observed that if I immediately teleport the S-300 into the scenario, then it will immediately open up at long distance. Since it is a long-distance shooter, its success is reduced due to the distance.
I then changed some things around and allowed it to be teleported in (allowed to shoot) about seven minutes later,as the SEAD units were closing in to the complex. In other words, I waited. This had much more success for the Iranians. In fact, the Iranians (the S-300) now shoots down anywhere from 3 to 8 Israeli SEAD units. Losing that many A/C means that Israel loses the scenario.
Finally, (and this is the part that I need help with), I took this one step further. I delayed the teleportation of the S-300 to an even later time (we are talking 3 to 5 minutes later than before) when the S-300 would arrive and be able to shoot at the F-15Is (the attackers) rather than just the SEAD units. The F-15Is are the only ones that can carry the GBU-28 (ground penetraters) so they NEED to be able to hit the under ground targets to win the game. Obviously, if Iran destroys the attackers, it can win the game, simply by not losing because they can't be hit. So, the idea is to toy with the concept of having the S-300 come a few minutes later than what is currently programmed, so that it can attack the F-15Is, rather than the SEAD units.
But, I still only want the S-300 to come in 95% of the time, AND if it does it arrives at the same location, but it arrives at one of two different times. I know that that sounds like a lot.
Any thoughts as to if, and how, I could make that happen?
I have uploaded the file.
Doug