TakeInventory

From Eternity Wiki
Revision as of 13:05, 4 November 2021 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Takes (removes) one or more items from player's inventory. |usage=void TakeInventory(str item_name, int amount) |parameters= *item_name: name of inve...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Takes (removes) one or more items from player's inventory.

Usage[edit]

void TakeInventory(str item_name, int amount)

Parameters[edit]

  • item_name: name of inventory items to remove
  • amount: how many to remove

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

No particular notes.

This function's identification in zspecial.acs is: ACS internal.

See also[edit]