0
Answered

draw different weapon from inventory

mo D 2 months ago in Inventory updated by Marti (Lead Developer) 2 months ago 1

Hello,

I have inventory, melee and shooter module.

I want to draw different weapons based on what I equipped in inventory, but I don't want to draw the weapon when the moment it is equipped.

How can I store the weapon value and press it to the draw weapon action?

Can I have some advice on how to make this drawing action works?

Thank you

Unity version:
latest
Game Creator version:
latest
GOOD, I'M SATISFIED
Satisfaction mark by mo D 2 months ago
Answered

Local or Global Variables don't accept storing scriptable objects, so I'm afraid the only way to do this is by equipping a specific weapon when you equip it from the Inventory.