Description
Finds or creates an array on a player variable, which is a variable that belongs to a specific player, then stores a value in the array at the specified index.
Arguments
Name: PLAYER
Description: The player whose variable will be modified. If multiple players are provided, each of their variables will be set.
Type:
- Player
- Array: Player Default: EVENT PLAYER
Name: VARIABLE
Description: Specifies which player variable's value is the array to modify. If the variable's value is not an array, then its value becomes an empty array.
Type: PlayerVariable
Default: AName: INDEX
Description: The index of the array to modify. If the index is beyond the end of the array, the array is extended with new elements given a value of zero.
Type: unsigned int
Default: NUMBERName: VALUE
Description: The value that will be stored into the array.
Type:
- Object
- Array Default: NUMBER