# Load Variable Value Into User Data

Grammar — Set user data (userType, instance, field, index) to value of var and type userDataType
FlagsOperator | Action

Modifies user data for the given type, instance, and field. User data is defined in the Data module. Only works for fields marked as modifiable.

# Arguments

  • string [ gamelink::User ] — User Type
  • string [ userinstance ] — Instance
  • string [ userfield ] — Field
  • int — Index
  • anyvariable — Variable
  • int [ preset::UserDataTypeFunctionRefSet ] — User Data Type

Returns — void

#PARAM(userDataType)(#PARAM(userType),#PARAM(instance),#PARAM(field), #PARAM(index), #PARAM(var));

Category: User Data / Set Value

# Examples

— None found —