Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Scriptname SAM03_zGolemCraftScript extends ObjectReference
- Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer)
- if (newContainer == Game.GetPlayer())
- ;Remove the item, always
- Game.GetPlayer().RemoveItem(CraftedItem,1, false)
- ;run the action we want, in this case, it's to enable an object
- MarkerToBeEnabled.Enable()
- endif
- EndEvent
- ObjectReference Property MarkerToBeEnabled Auto
- {The marker to enable}
- MiscObject Property CraftedItem Auto
- {The MiscObject that we remove, should be the same as what I'm attached to.}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement