Page 1 of 1

Selected unit

Posted: Mon Apr 25, 2016 1:32 pm
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);

Re: Selected unit

Posted: Mon Apr 25, 2016 3:23 pm
by pipfromslitherine
Hmmm - sadly not. It is a little bit of procedurally generated animation in the code.

Cheers

Pip