Resets the item system.
ItemSystem.Reset()
Gives the specified item.
ItemSystem.GiveItem( itemName )
Parameter | Description |
---|---|
itemName | Item name. |
Gives the item pack to the specified actor.
ItemSystem.GiveItemPack( actorId, packName )
Parameter | Description |
---|---|
actorId | Actor identifier. |
packName | Pack name. |
Gets the primary item of the specified pack.
ItemSystem.GetPackPrimaryItem( packName )
Parameter | Description |
---|---|
packName | Pack name. |
Get the number of items in the specified pack.
ItemSystem.GetPackNumItems()
Parameter | Description |
---|---|
packName | Pack name. |
Gets a pack item from its index.
ItemSystem.GetPackItemByIndex( packName, index )
Parameter | Description |
---|---|
packName | Pack name. |
index | Pack index. |
Sets an actor item.
ItemSystem.SetActorItem( actorId, itemId, keepHistory )
Parameter | Description |
---|---|
actorId | Actor identifier. |
itemId | Item identifier. |
keepHistory | True to keep history, false otherwise. |
Sets an actor item by name.
ItemSystem.SetActorItemByName( actorId, name, keepHistory )
Parameter | Description |
---|---|
actorId | Actor identifier. |
name | Actor item name. |
keepHistory | True to keep history, false otherwise. |
Serializes player LTL info.
ItemSystem.SerializePlayerLTLInfo( reading )
Parameter | Description |
---|---|
reading | Boolean value. |