Setting another object property?

I found this thread may give you the answer
How to get url instead of id from factory.create() (SOLVED) - Questions - Defold game engine forum

I think you should store its weapon in somewhere (eg. a lua table), so that you can refer it to get all info you need

1 Like