BindAction to TankPawn

I tried adding a function “Jump” and tried binding it using BindAction to tankpawn (which was inherited from BasePawn) instead of adding it to BasePawn.h
It gave me an error and couldn’t bind my jump function. the only way it would work was when I added the fn to BasePawn. why is this?

Sorry nvm - it seems I had binded it to action and was expecting a float when it didn’t need one. which is strange though because the error told me it couldn’t find the function. ah well solved it.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms