How should I attach this script?

Post » Thu Feb 14, 2013 1:14 am

This is my first script and I'm stuck on how to attach the script to the player (or whatever I should be attaching it to) in the creation kit.

I read something about attaching it to a quest, but I'm still not sure. Any help would be appreciated (even if it's fixing my code :tongue:)

Scriptname MyScript extends ActorSound Property KillCamSound AutoEvent OnPlayerBowShot(Weapon akWeapon, Ammo akAmmo, float afPower, bool abSunGazing)  if(Game.GetPlayer().IsInKillMove())	int value = http://forums.bethsoft.com/topic/1443611-how-should-i-attach-this-script/KillCamSound.Play(Self)	Sound.SetInstanceVolume(value,0.75)  endIfendEvent
User avatar
lauraa
 
Posts: 3362
Joined: Tue Aug 22, 2006 2:20 pm

Return to V - Skyrim