Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Drop an item at a specific location:
[InventoryComponent] → SpawnWorldItem Item Instance: [Item to drop] Location: [World location] Return: Spawned WorldItemActor
FVector DropLocation = PlayerCharacter->GetActorLocation() + PlayerCharacter->GetActorForwardVector() * 100.0f; AWorldItemActor* DroppedItem = InventoryComponent->SpawnWorldItem( ItemInstance, DropLocation );
[InventoryComponent] → DropItem Index: 5 Quantity: 1 Drop Location: [World position]
InventoryComponent->DropItem(5, 1, DropLocation);