Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| inventory [2019/08/26 18:33] – korshun | inventory [2019/08/26 18:34] (current) – [SetInventory] korshun |
|---|
| ===== Introduction ===== | ===== Introduction ===== |
| |
| ACSUtils provides extra functions to operate on inventory. Just like [[zdoom>GiveInventory]]/[[zdoom>TakeInventory]] and [[zdoom>GiveMaxInventory]]/[[zdoom>TakeMaxInventory]], every function is provided in two variants: one operating on the activator and the other operating on the actor with the specified tid. | ACSUtils provides extra functions to operate on inventory. |
| | |
| | Just like [[zdoom>GiveInventory]]/[[zdoom>GiveActorInventory]] and [[zdoom>TakeInventory]]/[[zdoom>TakeActorInventory]], every function is provided in two variants: one operating on the activator and the other operating on the actor with the specified tid. |
| |
| ===== SetInventory ===== | ===== SetInventory ===== |
| |
| * ''void SetInventory(str item, int count)'' | * ''void SetInventory(str item, int count)'' |
| * ''void SetActorIvnentory(int tid, str item, int count)'' | * ''void SetActorInventory(int tid, str item, int count)'' |
| |
| ===== ToggleInventory ===== | ===== ToggleInventory ===== |