ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


inventory_functions

Differences

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

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
inventory_functions [2018/01/08 01:07] – created korshuninventory_functions [2018/01/08 01:15] korshun
Line 1: Line 1:
-====== ZDoom inventory functions ======+====== Inventory functions ======
  
 Just like with [[zdoom>SetInventory]] and [[zdoom>SetActorInventory]], functions with ''Actor'' in them work on the actor with the specified TID, while the functions without work on the activator. Just like with [[zdoom>SetInventory]] and [[zdoom>SetActorInventory]], functions with ''Actor'' in them work on the actor with the specified TID, while the functions without work on the activator.
Line 27: Line 27:
   void GiveMaxActorInventory(int tid, str item)   void GiveMaxActorInventory(int tid, str item)
  
-Gives the maxiumum amount of ''item''Shorthand for ''GiveInventory(item, [[INT_MAX]])''+Gives the maxiumum amount of ''item''.
  
  
Line 35: Line 35:
   void TakeMaxActorInventory(int tid, str item)   void TakeMaxActorInventory(int tid, str item)
  
-Takes all items of types ''item''.+Takes all items of type ''item''.
  
  
inventory_functions.txt · Last modified: 2019/08/26 02:39 by korshun