Forum begins after the advertisement:


Having Both Weapons Available

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12647
    Jaylen
    Former Patron

    Hello,

    For the Vampire Survivor Tutorial, the garlic and knife weapon are used individually (a character can only have one). What do I need to do if I want the character to have access to both weapons?

    #12654
    Terence
    Keymaster

    Hi Jaylen, which part are you at now?

    If you add both weapons to the Available Weapons array in the Inventory Manager on the player, the other weapon should spawn on level up.

    #12667
    Jaylen
    Former Patron

    Currently starting part 11
    https://i.imgur.com/3lyUSRy.png
    I have this code, but when I uncomment the SpawnWeapon(SecondWeaponTest), I get this error
    https://i.imgur.com/vKEAKuw.png
    It says the error is here
    https://i.imgur.com/3lyUSRy.png

    #12668
    Jaylen
    Former Patron



    #12670
    Terence
    Keymaster

    Can you show me the line number in your code as well?

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

Go to Login Page →


Advertisement below: