LootManager

Documents the LootManager class and its functions.

NOT DOCUMENTED We currently don't have information on how these functions work. They are being documented here for visibility.

Invoking LootManager

To invoke the loot manager, use the following Global function:

lm = Game.LootManager()

Sub-functions

GenerateLoot

GenerateLoot(lootID : TweakDBID, out itemList : array:ItemModParams);

GetDefaultDropItemName

GetDefaultDropItemName() : CName;

SpawnItemDrop

SpawnItemDrop(obj : ref:GameObject, itemID : ItemID, optional position : Vector4, optional rotation : Quaternion) : Bool;

SpawnItemDropOfManyItems

SpawnItemDropOfManyItems(obj : ref:GameObject, itemInstructions : array:DropInstruction, optional dropItemName : CName, optional position : Vector4, optional rotation : Quaternion) : Bool;

SpawnThrowableItemDrop

SpawnThrowableItemDrop(obj : ref:GameObject, itemID : ItemID, position : Vector4, rotation : Quaternion, params : ref:ParabolicTrajectoryParams) : Bool;

Last updated