Ich beziehs jetzt mal aufs Beispiel Wort der Macht, hier die entscheidenden Codes:
Behavior = WeaponFireSpecialAbilityUpdate ModuleTag_WordWeaponFireUpdate
SpecialPowerTemplate = SpecialAbilityWordOfPower
WhichSpecialWeapon = 1
SkipContinue = Yes
UnpackTime = 1700
PackTime = 1
FreezeAfterTriggerDuration = 2500 ; Hold AI for this long after we fire.
AwardXPForTriggering = 0
StartAbilityRange = 80.0
SpecialWeapon = GandalfWordOfPower
End
WhichSpecialWeapon = 1 ist hier wichtig.
Wenn die entsprechende Anis findest du dann, indem du nach SPECIAL_WEAPON_ONE suchst, hier die Codes der Anis:
AnimationState = SPECIAL_WEAPON_ONE MOUNTED
StateName = Attacking
Animation
AnimationName = GUGdfHrs_SKL.GUGdfHrs_SPLA
AnimationMode = ONCE
AnimationBlendTime = 4
End
FXEvent = Frame:5 Name:FX_GandalfPreAttackBlast
End
;;; WORD OF POWER ANIMS ON FOOT ;;;
AnimationState = SPECIAL_WEAPON_ONE
StateName = Attacking
Animation
AnimationName = GUGandalfG_SKL.GUGandalfG_SPCK
AnimationMode = ONCE
End
FXEvent = Frame:5 Name:FX_GandalfPreAttackBlast
End
Wenn dort eine 2 bei WhichSpecialWeapon steht, machst dus logischerweise mit SPECIAL_WEAPON_TWO usw.