Anybody able to help?
Misc Object script
Spoiler
Scriptname HISPortSkinScript extends ObjectReference Actor Property PlayerRef Auto Furniture Property HISCraftingSkinningRackPort1 Auto MiscObject Property HISPortSkin2 Auto Event OnLoad()BlockActivation()EndEventEvent OnActivate(ObjectReference akActionRef) If PlayerREF.IsSneaking() == TrueFloat posX = GetPositionX();Float posY = GetPositionY() ;Float posZ = Game.GetPlayer().GetPositionZ() + 1;Float angX = Game.GetPlayer().GetAngleX();Float angY = Game.GetPlayer().GetAngleY();Float angZ = Game.GetPlayer().GetAngleZ();ObjectReference placeditem = Self.PlaceAtMe(HISCraftingSkinningRackPort1)placeditem.SetPosition(posX, posY, posZ)placeditem.SetAngle(0, angY, angZ)Disable()Delete() Debug.MessageBox("Portable Skinning kit Set Up")elsePlayerRef.AddItem(Self, 1)endifEndEvent
Crafting Station Script
Spoiler
Scriptname HISPortSkinFurnScript extends ObjectReference Actor Property PlayerRef Auto MiscObject Property HISPortSkin2 Auto Event OnActivate(ObjectReference akActionRef)if PlayerREF.IsSneaking() == True PlayerREF.Additem(HISPortSkin2, 1, abSilent = true) Disable()Delete() Debug.Notification("Portable Skinning Kit Recovered")ElseActivate(PlayerREF, true)endifEndEvent
EDIT:
Nevermind. After messing with the script I got it working. I think it was the BlockActivation OnLoad event that fixed it
