Jump to content

SmultronBusken

Supporter
  • Posts

    2
  • Joined

  • Last visited

Nexus Mods Profile

About SmultronBusken

SmultronBusken's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. Hi! Iam having a issue when Iam using my own sounds. How did you import your own sound files?
  2. When I am in game and hit the enemy, a sound should be played. Right now, no sound is played. However, if the sound descriptor is NOT a custom one , for example QSTAstrolabeButtonPress, it works. When i try to play my custom in Creation Kit it says "AUDIO: Unable to open Audio file: blabla". My custom sound is located in Data\Sound\FX\NPC This is my script that I wrote on an enemy actor:Scriptname OnHitSound extends ObjectReference Sound property QSTAstrolabeButtonPressX(or any sound) auto Event onHit(objectReference akAggressor, Form akWeapon, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) QSTAstrolabeButtonPressX(or any sound).play(self) endEvent Ive also tried this:Scriptname OnHitSound extends ObjectReference Sound property QSTAstrolabeButtonPressX auto Event onHit(objectReference akAggressor, Form akWeapon, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, bool abBashAttack, bool abHitBlocked) int instanceID = QSTAstrolabeButtonPressX.play(self) Sound.SetInstanceVolume(instanceID, 1.0) endEvent
×
×
  • Create New...