Hello!
I've been trying to display the icons of my equipped weapon/armor for some time now using some script.
I'm basically trying to call the icon of the currently equipped weapon of my heroes.
After some online research online I ended up with this.
Equip_weapon = drawIcon($gameActors.actor(1).weapons()[0])
SceneManager._scene.addChild(Equip_weapon)
Equip_weapon.x = 20
Equip_weapon.y = 240
Of course, it's not working, and I'm not even sure if I'm on the right path since I'm in no way a coder.
My other solution is to do it manually with pictures and a lot of conditions/variables, but if someone knows a cleaner way to do it it would be immensely appreciated!
Cheers!
I've been trying to display the icons of my equipped weapon/armor for some time now using some script.
I'm basically trying to call the icon of the currently equipped weapon of my heroes.
After some online research online I ended up with this.
Equip_weapon = drawIcon($gameActors.actor(1).weapons()[0])
SceneManager._scene.addChild(Equip_weapon)
Equip_weapon.x = 20
Equip_weapon.y = 240
Of course, it's not working, and I'm not even sure if I'm on the right path since I'm in no way a coder.
My other solution is to do it manually with pictures and a lot of conditions/variables, but if someone knows a cleaner way to do it it would be immensely appreciated!
Cheers!