Page 1 of 1

Capture Enemy Units

Posted: Sun Mar 13, 2011 3:58 pm
by junk2drive
In the BF campaign you stumble upon enemy units that you get a popup informing you that you have captured the unit.

I cannot find the script that does this. Pip?

EDIT

Looks like I asked about this during beta testing with this reply:

The enemy unit is removed and a friendly one of the same type is created in its place, using the PlaceUnit command from Functions.BSF.

Until "captured", the enemy unit's AP and range are set to 0 in the StartTurnPost function to prevent it from doing anything during the AI turn.

Posted: Sun Mar 13, 2011 4:09 pm
by junk2drive
There are no scripts in the BF folder. The campaign file is encrypted so that I can't find an example of what to do.

Posted: Sun Mar 13, 2011 5:04 pm
by pipfromslitherine
Can you tell me which scenario this happens in and I will take a look.

Cheers

Pip

Posted: Sun Mar 13, 2011 7:23 pm
by junk2drive
There is a French tank in the last one that I never found.
I tried starting each battle and poking around for a couple of turns and didn't find any. I'll have to play through the campaign until I find one.

Posted: Sat Mar 26, 2011 9:10 pm
by junk2drive
3rd battle, Racing Ahead
On the edge of the village is an FT17 near an MG unit. I moved the SS squad to take out the FT17. Next turn I moved and got a popup that I had found an FT17 with broken tracks but the gun still works.