Verse API reference page for the Take function
Takes the specified amount of this item's stack, reducing this item's stack size in the process. If taking the exact (full) amount, the item itself should be returned instead. There is no default implementation of Take i.e. by default, it will fail. If you want to allow this, you must override Take and return an entity containing a new item_component. This new entity should not be in any inventory. See the online documentation for more details.
Verse using statement |
using { /UnrealEngine.com/Itemization } |
Take<public><native>(Amount:int)<transacts><decides>:entity
Parameters
Take takes the following parameters:
| Name | Type | Description |
|---|---|---|
Amount |
int |
Attributes, Specifiers, and Effects
Attributes
The following attributes determine how Take behaves outside the Verse language. For the complete list of attributes, see the Attributes section of the Specifiers Page.
| Attribute | Arguments | Meaning |
|---|---|---|
experimental |
This feature is in an experimental state, and you cannot publish projects that use this feature. The API for this feature is subject to change and backward compatibility is not guaranteed. |
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.