Enderal SE https://mod.pub/enderal-se/38-enderal-se
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
360 B
17 lines
360 B
3 years ago
|
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
|