-
Posts
2 -
Joined
-
Last visited
-
Papyrus scripting OnHit Help
Sturmgewehrrrrrrrrrrr replied to Sturmgewehrrrrrrrrrrr's topic in Skyrim's Skyrim LE
My question is to what i need to attach this script to make it work -
Help! I attach this script to my test sword, and it doesn't work I want that when I hit someone with a sword, it gives me my bread, which I made Scriptname takeBreadFREE extends ObjectReference potion property Bread auto Event OnHit(ObjectReference akAggressor, Form akSource, Projectile akProjectile, bool abPowerAttack, bool abSneakAttack, \ bool abBashAttack, bool abHitBlocked) If akAggressor == Game.Getplayer() Game.GetPlayer().AddItem(Bread, 1, true) EndIf EndEvent