Forum Discussion
MR_TURBODRIVER
9 years agoSeasoned Veteran
Well, I can't help you with animations, but from the error, it looks like you're mismatching data between the object and animation actors setup. Something that's expected is missing.
For the injection, TurboTypesUtil is only to test for objects types, in this case, if it's a GameObject. It's the least important part.
On your injection for ScriptObject/GameObject 'on_add', that injection will trigger for every loaded object. There you test for the tags. Look at the entire rest of the 'is_valid' function.
I don't know how traits or buffs add affordences, but if it happens only once then it wouldn't be a performance issue.
For the injection, TurboTypesUtil is only to test for objects types, in this case, if it's a GameObject. It's the least important part.
On your injection for ScriptObject/GameObject 'on_add', that injection will trigger for every loaded object. There you test for the tags. Look at the entire rest of the 'is_valid' function.
I don't know how traits or buffs add affordences, but if it happens only once then it wouldn't be a performance issue.