Verse API reference page for the GrantItemIndex function
Grants an item at a specific ItemIndex to an Agent.
Index should be between 0 and the available item count - 1.
If Value is out of bounds, which item is granted is determined by Cycle Behavior.
Verse using statement |
using { /Fortnite.com/Devices } |
GrantItemIndex<public>(Agent:agent, ItemIndex:int)<transacts><no_rollback>:void
Parameters
GrantItemIndex takes the following parameters:
| Name | Type | Description |
|---|---|---|
Agent |
agent |
|
ItemIndex |
int |
Attributes, Specifiers, and Effects
Attributes
The following attributes determine how GrantItemIndex behaves outside the Verse language. For the complete list of attributes, see the Attributes section of the Specifiers Page.
| Attribute | Arguments | Meaning |
|---|---|---|
available |
MinUploadedAtFNVersion := 3100 |
This feature is available beginning with the UEFN version specified by MinUploadedAtFNVersion and unavailable prior to that version. |
Specifiers
The following specifiers determine how you can interact with GrantItemIndex in your programs. For the complete list of specifiers, see the Specifiers Page.
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.