Jump to content

Setting visualisation variant replays animations


Silier
 Share

Recommended Posts

I am playing with gate garrisoning and I found that after this call in GarisonHolder

 cmpVisual.SetVariant("garrison", this.entities.length ? "garrisoned" : "ungarrisoned");

are again replayed gate_opening or gate_closing animations without calling functions in Gate.js, so it is done by visualisation component.

Animations running once should be unselected by visualisation component itself.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...