Login
Create

Modify Player Variable Last updated July 06, 2020

Description

Modifies the value of a player variable, which is a variable that belongs to a specific player.

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 of the player's variables to modify.
Type: PlayerVariable
Default: A

Name: OPERATION
Description: The way in which the variable's value will be changed. Options include standard arithmetic operations as well as array operations for appending and removing values.
Type: Operation
Default: ADD

Name: VALUE
Description: The value used for the modification. For arithmetic operations, this is the second of the two operands, with the other being the variable's existing value. For array operations, this is the value to append or remove.
Type:

  • Object
  • Array Default: NUMBER
Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord