/** * Copyright (c)2000-2002 Sony Online Entertainment Inc. * All Rights Reserved * * Title: onHitPlayersInventory * Description: Writes the obj_id of the first player's inventory it hits * @author Thomas Blair * @version 1.0 */ /***** INCLUDES ********************************************************/ /***** INCLUDES ********************************************************/ include library.utils; include library.static_item; /***** CONSTANTS *******************************************************/ trigger OnAttach() { obj_id player = utils.getContainingPlayer(self); if(isIdValid(player)) static_item.origOwnerCheckStamp(self, player); return SCRIPT_CONTINUE; } trigger OnInitialize() { obj_id player = utils.getContainingPlayer(self); if(isIdValid(player)) static_item.origOwnerCheckStamp(self, player); return SCRIPT_CONTINUE; }