Advertisement
Drakten

Untitled

Aug 21st, 2020
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. static function UpdateAnimations(out array<AnimSet> CustomAnimSets, XComGameState_Unit UnitState, XComUnitPawn Pawn)
  2. {
  3. local XComContentManager Content;
  4.  
  5. if(!UnitState.IsSoldier()) return;
  6.  
  7. if (UnitState.GetSoldierClassTemplateName() == 'DRAKTEN_SkullRipper')
  8. {
  9. UnitState.kAppearance.iAttitude = 0;
  10. UnitState.UpdatePersonalityTemplate();
  11.  
  12. Content = `CONTENT;
  13.  
  14. CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_ANIM.Anims.AS_Soldier")));
  15. CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Templar_ANIM.Anims.AS_Templar")));
  16. CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_Unarmed_ANIM.Anims.AS_UB_Soldier")));
  17. CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_Unarmed_ANIM.Anims.AS_UB_Medkit")));
  18. CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Soldier_Unarmed_ANIM.Anims.AS_UB_Skulljack")));
  19. CustomAnimSets.AddItem(AnimSet(Content.RequestGameArchetype("Templar_ANIM.Anims.AS_UB_Grenade")));
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement