HoS_PRC8/_mod/_module/nss/rts_it_op3.nss

9 lines
291 B
Plaintext
Raw Normal View History

2024-11-25 19:36:07 -05:00
void main()
{
object oOwner=GetItemActivator();
object oItem=GetItemActivated();
object oRug=CreateObject(OBJECT_TYPE_PLACEABLE,"rts_it_op3_pl",GetItemActivatedTargetLocation());
SetLocalString(oRug,"sRugOwner",GetName(oOwner));
if (GetIsObjectValid(oRug)) DestroyObject(oItem);
}