AddNewItem

From ARK Modding Wiki
Jump to navigation Jump to search


This article or chapter is incomplete and its contents need further attention. Some information may be missing or may be wrong, spelling and grammar may have to be improved, use your judgment!

Look for (Confirmation Needed) areas on this page, and help out where you can.

NoticeIcon.png

Replication Important

NoticeIconInactive.png

Must run on server

NoticeIconInactive.png

Should run on server

NoticeIcon.png

Must run on client

NoticeIconInactive.png

Should run on client

NoticeIconInactive.png

Requires Multicasting

NoticeIconInactive.png

AddNewItem - PrimalItem

How to Use

Add a new item to an inventory component, by class.
Note: If working within a Primal Inventory BP, you will have to un-check the 'Context Sensitive' option in order to see this node.

Details

Inputs
Pin Reference Type Description
Item Archetype Class Select the class of the new item to be created
Give to Inventory PrimalInventory PrimalInventory reference.
Equip Item Bool Automatically equip the newly created item (armor/offhand). Un-equips currently equipped equivalent.
Don't Stack Bool Does not add to existing stack, instead creates new stack/s. Does NOT force single item stacks.
Item Quality Float Affects many calculations regarding item stats. Item Quality Guide (Confirmation Needed)
Force No Blueprint Bool Prevent spawning as a blueprint if the item has an inherent chance to do so (Confirmation Needed)
Quantity Override Integer Create this item as a 'stack' of this value (Confirmation Needed)
Force Blueprint Bool Gaurantees that this item will be created as a blueprint if it has an inherent chance not to (Confirmation Needed)


Outputs
Pin Reference Type Description
Return Value PrimalItem Primal item reference for the newly created item

Related Articles

What Links Here