use shootable weapon as melee

MarkusKer

Member
hello i am struggeling to use the shootable weapon as an melee. i set up the shootable weapon and than added the melee weapon type later on. the components show up but nothing happens if i press B. is there anything else to be set up?

thanks,
markus
 
Ensure that you have added a second Use ability so the MeleeWeapon can be used. In the demo scene the second Use ability is Use (Slot 0, Action 1)
 
where can i get the slot and the action ID? i have used the values visible in the attached scripts to the weapon. but the player now cannot shoot anymore and is holding the shootable weapon like if it were not assigned.
 

Attachments

  • 1.PNG
    1.PNG
    648.5 KB · Views: 6
  • 2.PNG
    2.PNG
    19.8 KB · Views: 6
  • 3.PNG
    3.PNG
    23.3 KB · Views: 7
Top