Advertisement
Bagserk

Add Voice Types script

Sep 4th, 2012
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. Scriptname bsAddMirVoice extends Quest
  2.  
  3. VoiceType Property FemaleMir Auto
  4.  
  5. FormList Property VoicesCommonCombatant Auto
  6.  
  7. FormList Property VoicesCommonAdult Auto
  8.  
  9. FormList Property DefaultNPCVoiceTypes Auto
  10.  
  11. FormList Property VoicesNPCs Auto
  12.  
  13. FormList Property VoicesFollowerNeutral Auto
  14.  
  15. FormList Property VoicesMarriageNeutral Auto
  16.  
  17. FormList Property VoicesMarriageAll Auto
  18.  
  19. Message Property bsMirInstalledMsg Auto
  20.  
  21. Book Property bsRemoveMirBook Auto
  22.  
  23. function AddMirVoice()
  24. if !VoicesCommonCombatant.HasForm(FemaleMir)
  25. VoicesCommonCombatant.AddForm(FemaleMir)
  26. endif
  27. if !VoicesCommonAdult.HasForm(FemaleMir)
  28. VoicesCommonAdult.AddForm(FemaleMir)
  29. endif
  30. if !DefaultNPCVoiceTypes.HasForm(FemaleMir)
  31. DefaultNPCVoiceTypes.AddForm(FemaleMir)
  32. endif
  33. if !VoicesNPCs.HasForm(FemaleMir)
  34. VoicesNPCs.AddForm(FemaleMir)
  35. endif
  36. if !VoicesFollowerNeutral.HasForm(FemaleMir)
  37. VoicesFollowerNeutral.AddForm(FemaleMir)
  38. endif
  39. if !VoicesMarriageNeutral.HasForm(FemaleMir)
  40. VoicesMarriageNeutral.AddForm(FemaleMir)
  41. endif
  42. if !VoicesMarriageAll.HasForm(FemaleMir)
  43. VoicesMarriageNeutral.AddForm(FemaleMir)
  44. endif
  45. Game.GetPlayer().AddItem(bsRemoveMirBook,1)
  46. bsMirInstalledMsg.show()
  47. endfunction
  48.  
  49. Event OnInit()
  50. AddMirVoice()
  51. endevent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement