Selected unit

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

Selected unit

Post by enric »

When selecting a unit BA plays an animation on that tile.

If I force a selected unit by code:

SetCurrentSelectedUnit(id);

How can I display that animation?

Maybe?

AddVizUnitSpotAnim(id, 255, "XXXXX", 4, 0, side);
pipfromslitherine
Site Admin
Site Admin
Posts: 9702
Joined: Wed Mar 23, 2005 10:35 pm

Re: Selected unit

Post by pipfromslitherine »

Hmmm - sadly not. It is a little bit of procedurally generated animation in the code.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Modders Corner”