Complete Example Scripts: Difference between revisions

Jump to navigation Jump to search
m
→‎Show Gift Window and Identify Items Given: 'Self' unnecessary. RemoveItem called implicitly
imported>Sollar
imported>JustinOther
m (→‎Show Gift Window and Identify Items Given: 'Self' unnecessary. RemoveItem called implicitly)
Line 829: Line 829:
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
Event OnItemAdded(Form akBaseItem, int aiItemCount, ObjectReference akItemReference, ObjectReference akSourceContainer)
If akSourceContainer == Game.GetPlayer()
If akSourceContainer == Game.GetPlayer()
self.RemoveItem(akBaseItem,aiItemCount)
RemoveItem(akBaseItem,aiItemCount)
If !hasBeenFedToday
If !hasBeenFedToday
hasBeenFedToday=True
hasBeenFedToday = True
EndIf
EndIf
EndIf
EndIf
EndEvent
EndEvent
</source>
</source>
Anonymous user

Navigation menu