Advertisement
ObelixDk

test

May 31st, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. return Template;
  2. }
  3. function GetIconsForBodyPart(X2BodyPartTemplate BodyPart)
  4. {
  5. switch(BodyPart.DLCName == 'NameOfDLCNameHere')
  6. {
  7. case 'DLCname example 1':
  8. UIUtilities_Text'.static.InjectImage("img:///UILibrary_NameOfYourSDKFile.NameOfYourIcon", 26, 26, -4) $ " ";
  9. break;
  10. case 'DLCName example 2':
  11. UIUtilities_Text'.static.InjectImage("img:///UILibrary_NameOfYourSDKFile.NameOfYourIcon2", 26, 26, -4) $ " ";
  12. break;
  13. default:
  14. RewardState.Quantity = 0;
  15. break;
  16. }
  17.  
  18. RewardState.Quantity = Round(RewardScalar * float(RewardState.Quantity));
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement