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

Next revision
Previous revision
inventory [2019/08/26 21:33] – created korshuninventory [2019/08/26 21:34] (current) – [SetInventory] korshun
Line 3: Line 3:
 ===== 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 =====
inventory.1566844384.txt.gz · Last modified: 2019/08/26 21:33 by korshun