GiveInventory

From Eternity Wiki
Revision as of 02:19, 10 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Gives inventory items to player activator. |usage=''void'' '''GiveInventory'''(''str itemname'', ''int amount'') |parameters= *''itemname'': name of item or power to give. *''amount'': how much to give. If -1, then give maximum possible. |notes= |id=ACC internal}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description

This is an ACS built-in function.

Gives inventory items to player activator.

Usage

void GiveInventory(str itemname, int amount)

Parameters

  • itemname: name of item or power to give.
  • amount: how much to give. If -1, then give maximum possible.

Return value

Examples

No examples given.

Notes

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

See also