PrimaryFire which is bound to Left Mouse Button (this is an auto fire, using the release feature)
SecondaryFire which is bound to Right Mouse Button (this is really a single shot fire atm)
I cannot fire my primary unless i am HOLDING the secondary
I cannot fire my secondary unless I am HOLDING my Primary
If I rebind InputAction PrimaryFire to LeftMouseButton…I get the same result
If I rebind InputAction SecondaryFire to RightMouseButton…I get the same result
If I bind SpaceBar to where primaryfire logic was…it works perfectly as desired.
If I bind Q to where secondaryfire logic was…it works perfectly as desired
basically it works on any key but where its set to in the action mappings of Project Settings.
Sure thing mate. I sort of have the impression this is related to what you said in my other thread about not reseting the “AndyCharacter” reference but who knows. I scrunched up my code to fit into the pics.
The input binds
The WASD and mouse rotation code inside the Andy_Controller (not the default player controller)
The binds in my AndyCharacter blueprint for primary and secondary Fire (these were in my controller and are here now for testing)(ignore that secondary fire calling for “fires” that was a test screenshot)
Is it because my “AndyCharacter” object reference is not public so it can be refreshed automatically?
Of course now that I have reverted to disable input, hideactoringame,disable collision, fade out…kill enemies, teleport player…unhideactoringame, enable collision, fade in enable input…the event begin play will only fire once right?
The problem lays in the future when I am teleporting the player to other levels not sure what sort of repercussions this aspect will have far down the road because I have so little experience.
Here is how i am storing my AndyCharacter in my AndyController for reference to use with possible other future code: