Thanks for the reply Duré! Sounds like that might fix my problem, will give it a shot later and post back here.
Edit: And it did! :clap: Here's the (ObjC) code:
Slot* _slot = [mySkeleton findSlot:@"left hand item"];
if (strcmp(_slot->attachment->name, "dagger")==0) {
[mySkeleton setAnimation:@"attackDagger" loop:NO];
} else {
[mySkeleton setAnimation:@"attackSpear" loop:NO];
}
Hope it helps somebody else. 🙂