Greetings,
Have been following a number of threads regarding the use of Mist to respawn both Air and Ground units. Have picked up some great tips .... so thanks to all.
I am getting the various groups to respawn after they have been destroyed .... however, I have run into .... what I hope .... is a small snag ....as I can't seem to get them to respawn with a delay so that it looks a little more realistic.
Here is the DO SCRIPT I am using (with one of the three Convoy groups I have in my training mission):
if (Group.getByName('Convoy3') and Group.getByName('Convoy3'):getSize() < 1) or not Group.getByName('Convoy3') then
mist.respawnGroup('Convoy3', true)
end
Now this script as written works perfectly in that whichever 'groupname' I insert will be respawned as soon as the entire group has been destroyed. As I said, what I can't seem to get to work is a delay! I have tried the following actions with no success:
1. Replace true with a number value (i.e. 60)
2. Add a number value after true (i.e. true, 60)
Neither seems to deliver the desired delay .... and action 1 is exactly as it is stated in the https://wiki.hoggitworld.com/view/MIST_respawnGroup
I have also attached the Test mission if anyone wants to take a look to hopefully provide a solution .
Thanks in Advance ....
Test.miz