Guest User

Untitled

a guest
Dec 3rd, 2015
314
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. Scriptname BALSCraftItem extends ObjectReference
  2. {Removes the crafted item, passes time and then enables specified items}
  3.  
  4. ObjectReference Property EnableRef Auto
  5. {One of the references to be enabled}
  6.  
  7. MiscObject Property CraftItem Auto
  8. {This targets the item the script is attached to so it may be removed from your inventory}
  9.  
  10. Event OnContainerChanged(ObjectReference akNewContainer, ObjectReference akOldContainer)
  11.  
  12. EnableRef.enable(true)
  13. Game.GetPlayer().RemoveItem(CraftItem,1,True)
  14. BalsController.LightsBuiltCheck(EnableRef)
  15. Return
  16.  
  17. EndEvent
Advertisement
Add Comment
Please, Sign In to add comment