
I want to use setWithWorker, but up till now I have been setting attributes using this syntax createObj("attribute", {
name: stat,
current: value,
characterid: character
});
and I dont know how to use the .set and .get versions. Can someone post a working example of how you would define an attribute (named, say, "Horse_Type"), and set it using setWithWorker?