# Modify User Data (Color)
Grammar — Set user data (userType, instance, field, index) to value
Flags —Native
|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 Typestring
<userinstance> — Instancestring
<userfield> — Fieldint
— Indexcolor
— Value
Returns — void
native void UserDataSetColor(
string inType,
string inInstance,
string inField,
int inIndex,
color inValue,
);
# Related
Category: User Data / Set Value
- Load Variable Value Into User Data
- Modify User Data (Ability Command) —
void
— UserDataSetAbilCmd - Modify User Data (Actor) —
void
— UserDataSetActor - Modify User Data (Color) —
void
— UserDataSetColor - Modify User Data (Compare) —
void
— UserDataSetCompare - Modify User Data (Game Link) —
void
— UserDataSetGameLink - Modify User Data (Image) —
void
— UserDataSetImagePath - Modify User Data (Image Edge) —
void
— UserDataSetImageEdge - Modify User Data (Image Attach) —
void
— UserDataSetImageAttachPoint - Modify User Data (Integer) —
void
— UserDataSetInt - Modify User Data (Model) —
void
— UserDataSetModel - Modify User Data (Movie) —
void
— UserDataSetMovie - Modify User Data (Real) —
void
— UserDataSetFixed - Modify User Data (Sound) —
void
— UserDataSetSound - Modify User Data (String) —
void
— UserDataSetString - Modify User Data (Text) —
void
— UserDataSetText - Modify User Data (Unit) —
void
— UserDataSetUnit - Modify User Data (Upgrade) —
void
— UserDataSetUpgrade - Modify User Data (User) —
void
— UserDataSetUser
# Examples
— None found —