Equip function parameter is null...why?

What you’re doing is totally possible, but it is a little tricky to deal with classes/class references. There should be plenty of good threads on the forums to help.

This should help too: