Jump to content

Recommended Posts

Ala13_Kokakolo
Posted (edited)

I have a group of truck (10 of them) that when they are destroyed (the entire group) they got repaired again. The system is very simple. They are linked to a counter and everytime one of them is destroyed, it get disabled (just to stop sending messages to the counter) and adds one to the counter. Once the counter reachs 10, there is one minute timer, and they all get repaired and two seconds after (another timer) re enabled. The only problem I had, was I did no realise at the beginning to uncheck in every one of them the box "Delete after dead" because otherwise they disappear for good. After that,  It worked flawlessly. So I though, lets do the same with ship. The only problem is they don't. I thought it was working fine yesterday when I went to bed, but today when I was testing it with my mates I realise the ship do not reapear again if they were fully sunk. No matter unchecking the box "delete after dead", once they are sunk, they go for good. Is there any way of fixing this?

 

I have attached the mission. It is in Spanish, but it is pretty straightforward. It has just two airstrips and one set of targets per side, trucks (camiones), Tanks (tanques) and ships (barcos). All groups work fine but the ship groups. 

Mission.zip

Edited by Ala13_Kokakolo
Posted (edited)

I'm not sure about your ship issue because I haven't played with the repair scenario yet. However, I did notice that your deactivate triggers are not connected to any objects. But, I think that you need a deactivate trigger for each object. If you use one deactivate for all the objects, they all get deactivated when the first object is killed. I think you need this construct: 

 

 

  Deactivate1 --------> <---------Object1

 

  Deactivate2 --------> <---------Object2

 

  Deactivate3 --------> <---------Object3

 

with a message link from each object to each deactivate trigger and an object link from each deactivate trigger to each object.

Edited by JimTM
Ala13_Kokakolo
Posted

I was thinking the same, but it works with the truck. I will try it tonight and i will see if it makes any difference.

Ala13_Kokakolo
Posted

Fixed. I will post the mission on the mission thread.

Posted

Great! So, how did you fix your ship problem?

Ala13_Kokakolo
Posted

there solution was to change something. Once they got killed, disable them (a counter with 58 seconds will give time enough to see them sink and stop them before getting removed) then, once the three are killed, first enable them and just 200 miliseconds after, recover fully.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...