## Engine
Class InventorySpot

source: C:\XIII\Engine\Classes\InventorySpot.uc

    Core.Object
       |
       +--Engine.Actor
          |
          +--Engine.NavigationPoint
             |
             +--Engine.InventorySpot

Direct Known Subclasses:None

class InventorySpot
extends Engine.NavigationPoint

    //=============================================================================
    // InventorySpot.
    //=============================================================================

Variables
`Pickup` | `markedItem`

Function Summary
`Actor` | `GetMoveTargetFor(AIController B, float MaxWait)`
    /* GetMoveTargetFor()
    Possibly return pickup rather than self as movetarget
    */

Source Code

    00001	//=============================================================================
    00002	// InventorySpot.
    00003	//=============================================================================
    00004	class InventorySpot extends NavigationPoint
    00005		native;
    00006
    00007	var Pickup markedItem;
    00008
    00009	/* GetMoveTargetFor()
    00010	Possibly return pickup rather than self as movetarget
    00011	*/
    00012	function Actor GetMoveTargetFor(AIController B, float MaxWait)
    00013	{
    00014		if ( (markedItem != None) && markedItem.ReadyToPickup(MaxWait) && (B.Desireability(markedItem) > 0) )
    00015			return markedItem;
    00016
    00017		return self;
    00018	}
    00019
    00020	defaultproperties
    00021	{
    00022	     bCollideWhenPlacing=False
    00023	     CollisionRadius=40.000000
    00024	     CollisionHeight=80.000000
    00025	     bHiddenEd=True
    00026	}

End Source Code