PDA

View Full Version : How to delete units during mission?


hewsu
11-26-06, 12:33 PM
Is there a way to delete/make units disappear in the middle of a mission?

Theres the option in events: Update Instance - Instance Name - Delete
and I tried to put the exit date for units just a few minutes after the entry date but either of them didnt work.

Im trying to make a mission where you have to sink a merchant ship and if you succeed or time runs out the escorts would disappear so you can end the mission successfully without having to spend hours underwater evading the escorts.

mauriga
11-28-06, 05:34 PM
Sorry 4 my bad English,
i'll try an answer.

if U have in a mission units A and unit B and the mission starts at 13:30 of the 1st August 1940 U'll have to do this...

add a trigger ( a time trigger eg 13:35 1st August 1940)
then add an event (update istance, istance name A or B tick "delete" box)
the most important thing U must to do, is to insert the trigger made before into the event.

When U play the mission at 13:35 the unit A or B will'disappear.

Let me know.

mau----

hewsu
11-30-06, 11:20 AM
Thank you! It did work :D

I tried to do the excact thing earlier my self too though and I think the reason it didnt work was because:

the mission editor some how messes up the trigger - event - objective things if you start to change them afterwards. I even ended up crashing the whole game at one point after changing the settings. But it seems that if you first make the objectives, then the triggers and finally the events they shouldn't bug.

On to finnish my mission.... :up:

EDIT: Some other things that mess up the delete option

1. setting things in groups = bad, can crash the game too

2. Leaving the default names like BR DD W&W#3. I found out that for some reason just because
a unit had a certaint name it wouldnt get delete. So some of the units got deleted fine while others just were left afloat. Simply changing the name worked well. What a silly bug :P