Page 1 of 1

WithInfantryBody - AttackSequences, how do they work?

Posted: Sat Dec 29, 2018 4:41 pm
by Zeruel87
i see there is a Trait so you can tell an infantry unit to use different attack animations for different Armaments (attacks), but i dont get it how to correctly put it in the .yaml files and i cant find an example. :?

Re: WithInfantryBody - AttackSequences, how do they work?

Posted: Sun Dec 30, 2018 10:23 pm
by Graion Dilach

Code: Select all

mingxia:
	[...]
	Armament@primary2:
		Name: secondary
		Weapon: MingxiaGun
		RequiresCondition: !rank-heroic && !weapondisable
	Armament@elite2:
		Name: secondary
		Weapon: MingxiaGunE
		RequiresCondition: rank-heroic && !weapondisable
	WithInfantryBody:
		AttackSequences:
			secondary: shoot-gun