IncrementItemQuantity

From ARK Modding Wiki
Revision as of 02:22, 15 May 2016 by ZenRowe (talk | contribs)
Jump to navigation Jump to search


IncrementItemQuantity - PrimalItem

How to Use

Modify the quantity of a PrimalItem in an inventory component by reference

Notes:
Negative values will decremented the stack.
If the value reaches 0 then the item will be removed from the inventory component automatically.

Related Articles

What Links Here

Inputs
Pin Reference Type Description
Target PrimalItem PrimalItem Reference
Amount Integer value which the quantity will be modified by
Replicate to Client Bool Trigger automatic replication of this change to the inventory component to all viewing clients immediately
Don't Update Weight Bool Prevent this item from being figured into weight calculations +
Is From Use Consumption Bool Trigger use consumption events +
Is Ark Tribute Item Bool Needs Further Clarification +
Is From Crafting Consumption Bool Trigger crafting consumption events +


Outputs
Pin Reference Type Description
Return Value Integer The current size of this "Stack" of items after this node has been executed +

Legend

+ Needs Further Clarification, could be incorrect, author made a guess