Hi everyone,
When I click on a weapon's button, I want to launch an event that is going to Call a Function that will manage the equip and unequip of weapons and armor. We need to do that, because some code has to be run before the equipment is used.
The problem is that I can't find the reference to the equipment I clicked on. Where is it stored in ORK? How is the association between the button and the equipment in managed in ORK?
For now, we use a MenuScreen default action to launched the GameEvent. It does launch it and it is received by the C# script. If I use the MenuAction Use instead of GameEvent, it equips the weapon automatically, which means that the association between the button and the weapon is somewhere. Where is it?
Thank you
If you're enjoying my products, updates and support, please consider supporting me on patreon.com!