ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


inventory

This is an old revision of the document!


Inventory functions

Introduction

ACSUtils provides extra functions to operate on inventory. Just like GiveInventoryTakeInventory and GiveMaxInventory/TakeMaxInventory, every function is provided in two variants: one operating on the activator and the other operating on the actor with the specified tid. ===== SetInventory ===== * void SetInventory(str item, int count) * void SetActorIvnentory(int tid, str item, int count) ===== ToggleInventory ===== * void ToggleInventory(str item) * void ToggleActorInventory(int tid, str item, int count) ===== GiveMaxInventory/TakeMaxInventory ===== * void GiveMaxInventory(str item) * void TakeMaxInventory(str item) * void GiveMaxActorInventory(int tid, str item) * void TakeMaxActorInventory(int tid, str item)

inventory.1566844384.txt.gz · Last modified: 2019/08/26 21:33 by korshun