enderalse/source/scripts/_00e_defaultaddmiscitemonactivate.psc

17 lines
360 B
Plaintext
Raw Normal View History

ScriptName _00E_DefaultAddMiscItemOnActivate Extends ObjectReference
MiscObject Property item Auto
{the misc item to place}
int Property count Auto
{how many of the above item the char should have}
ObjectReference Property character Auto
event OnActivate( ObjectReference ref )
If ( ref == character )
ref.addItem( item, count, False )
EndIf
EndEvent