# Modify User Data (User)

Grammar — Set user data (userType, instance, field, index) to valueType: valueInstance
FlagsNative | 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
  • string<gamelink::User> — Value Type
  • string<userinstance> — Value Instance

Returns — void

native void UserDataSetUser(
	string inType,
	string inInstance,
	string inField,
	int inIndex,
	string inValueType,
	string inValueInstance,
);

Category: User Data / Set Value

# Examples

— None found —