I'm trying to level up a weapon with Spend.
However, I can't find the event node for Spend.
How do I spend an Experience from a GlobalEvent or Script?

I've looked around in the how-to's and forums below, but can't find anything.
http://orkframework.com/tutorial/howto/equipment/
Equipment
Spend
The player must spend experience points on the equipment to level it up.

→I'd like to do this from an EventNode or script.
 Since I'm making all my GUIs from DoozyUI (because I'm very comfortable with the speed and iteration of UI animations and layout editing), I can't use the ORK menu screen.
  • edited June 2021
    This can be done via code, calling the EquipShortcut instance's SpendExperience function - it takes the combatant who's exp is spend as a parameter, e.g.:

    equip.SpendExperience(user);
    equip is the EquipShortcut instance of the weapon/armor, user is the Combatant who spends the exp.
    Post edited by gamingislove on
    Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
    If you're enjoying my products, updates and support, please consider supporting me on patreon.com!
Sign In or Register to comment.