SpawnItem
Usage:
SpawnItem(Item, Quantity, Zone, X, Y, Z, [Instance])
Description:
The SpawnItem command allows you to create new items on the ground, which work in the same way as items dropped by players. They can be picked up by any player. Items without a mesh set will appear as the \Data\Meshes\Loot Bag.b3d model, others will display whatever mesh has been set.
The optional Instance parameter allows you to spawn the item in any extra instance of the zone created with CreateZoneInstance.
Example:
Function Main()
// Create 5 mushrooms on the ground
SpawnItem("Mushroom", 5, "Mushroom Farm", 10, 0, 5)
Return()
End Function
Comments (0)
You don't have permission to comment on this page.