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
Specifiers
The following specifiers determine how you can interact with GrantItemIndex in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |
Effects
The following effects determine how GrantItemIndex behaves in your programs. For the complete list of effects, see the Effect Specifers section of 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.