Capture Enemy Units

Download scenarios and talk about scenario design.

Moderators: Slitherine Core, BA Moderators

Post Reply
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Capture Enemy Units

Post 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.
You can call me junk - and type that with one hand.
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post 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.
You can call me junk - and type that with one hand.
pipfromslitherine
Site Admin
Site Admin
Posts: 9929
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

Can you tell me which scenario this happens in and I will take a look.

Cheers

Pip
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post 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.
You can call me junk - and type that with one hand.
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post 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.
You can call me junk - and type that with one hand.
Post Reply

Return to “Battle Academy : Scenario Design”