ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


inventory

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
inventory [2019/08/26 21:33] korshuninventory [2019/08/26 21:34] (current) – [SetInventory] korshun
Line 5: Line 5:
 ACSUtils provides extra functions to operate on inventory. 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.+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 =====
inventory.txt · Last modified: 2019/08/26 21:34 by korshun