Equip and Unequip?

Games4lifeGames4life Member, PRO Posts: 279

I have searched the forums and have not found a clearly explained to system to equip and unequip items to a character? What I mean by this is, the character is only allowed to have one item on at a time. When the user clicks equip I want the current item to automatically unequip and let the new one equip. I have all of that stuff set up EXCEPT the part where the two items switch place? I have been trying for the past several hours to create a system of my own but have only failed to come up short. Any help is appreciated!
~G4L

Comments

  • RabidParrotRabidParrot Formally RabidParrot. Member Posts: 956
    edited January 2016

    Make a weapon integer attribute.

    When,

    weapon = 1 change to sword
    weapon= 2 change to bazooka
    weapon = 3 change to Donald Trump's hair.

  • Games4lifeGames4life Member, PRO Posts: 279

    @RabidParrot said:
    Make a weapon integer attribute.

    When,

    weapon = 1 change to sword
    weapon= 2 change to bazooka
    weapon = 3 change to Donald Trump's hair.

    oh awesome, ill try this! thanks!

Sign In or Register to comment.