Sets a custom uint
variable to the entity. This method will overwrite both type and value if another data with the same name exists.
Sample:
entity.SetUInt("bagSlots", 15);
print("Our beloved character has " + entity.GetUInt("bagSlots") + " slots in his bag");
Output:
Our beloved character has 15 slots in his bag