Difference between revisions of "AddNewItem"

From ARK Modding Wiki
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 32: Line 32:
 
|Don't Stack
 
|Don't Stack
 
|Bool
 
|Bool
|Create this item as a separate object reference even if an object of the same class already exists in the inventory component {{NoMention}}
+
|Does not add to existing stack, instead creates new stack/s. Does NOT force single item stacks.
 
|-
 
|-
|Item Quality
+
|[[Item Quality]]
 
|Float
 
|Float
|Affects many calculations regarding item stats. (please link to breakdown guide) {{NoMention}}
+
|Affects many calculations regarding item stats. [[Item Quality|Item Quality Guide]] {{NoMention}}
 
|-
 
|-
 
|Force No Blueprint
 
|Force No Blueprint

Latest revision as of 05:21, 1 March 2017


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