Make an Attack on a certain unti

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
buffpilot
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 14
Joined: Tue Aug 28, 2012 11:11 pm

Make an Attack on a certain unti

Post by buffpilot »

What would be the function that would allow me to accomplish the following.


Make an HE attack against a specific unitID?

Thanks

Doug
pipfromslitherine
Site Admin
Site Admin
Posts: 9928
Joined: Wed Mar 23, 2005 10:35 pm

Re: Make an Attack on a certain unti

Post by pipfromslitherine »

Check out the Fire_HE.BSF file in DATA/BATTLE/SCRIPTS. It looks like you could just call Unit_FireHE to achieve want you are looking for.

Unless you want the attack to come without needing an attacking unit? Like an artillery strike? In which case you can use BombardTile in DATA/SCRIPTS/BombardTools.bsf

Cheers

Pip
buffpilot
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 14
Joined: Tue Aug 28, 2012 11:11 pm

Re: Make an Attack on a certain unti

Post by buffpilot »

Thanks Pip - I need the second...
Post Reply

Return to “Battle Academy : Modders Corner ”