Next I created two new custom events and called them "Switching_On" and "Switching_Off" and also created two new boolean variables called "SwitchingStateMode" and "Switching", I then used those custom events and booleans to create a blueprint in witch the player could switch weapons by pushing R. Here you see how I did this in my blueprints.
I am now going to create my Anim Notify's in my Animation blueprint. I created a new notify for DrawSword1, DrawSword2, SheathSword1 and SheathSword2. I also created two notify's for my two swords called SwitchOn.
I then called the animation notify's into the animation blueprints event graph and created four custom events referencing each component that I added to my character. I then created 8 Set Hidden In Game nodes and separated them into two groupsbe hidden and one for the asset to be s, one for the asset to shown, here you can see how I connected all of these nodes together
Next I called on the custom events that I just created and the called on the switching on and switching off nodes and connected to my character blue print, I then created a blueprint for switching modes on and off as you can see here.
No comments:
Post a Comment