0
Answered

Trouble getting a weapon equiped via the inventory and then retaining the shooter module's player AIM.

Tathunder 3 months ago in Shooter updated by Marti (Lead Developer) 3 months ago 2

I can get hip shooting (not needing to aim and shoot with right button click) working as shown in one of the video's.

Trigger On start to Actions, draw weapon and then having the player aim with camera direction. Looks and works great that far.

However, I can not figure out how to keep that aim style consistent.


I can equip guns with the inventory module and they work fine with keeping the right had click aiming method.


I have trouble getting a weapon equipped with the inventory and then keeping that quick aim working.

I have tried lot's of different triggers and conditions then resulting with the player aim action, but they do not work as I would like. The gun will physically be up and aiming but there is no crosshair and the weapon will not shoot.


I would greatly appreciate some help.

Unity version:
latest LTS build
Game Creator version:
latest version

Answer

Answer

I figured it out again...

I was going about it the wrong way.


Simple solution was to add all my actions to the item on equip via the preferences and then the inventory tab.

Answer

I figured it out again...

I was going about it the wrong way.


Simple solution was to add all my actions to the item on equip via the preferences and then the inventory tab.

Answered

Happy to hear you found the solution :-) Yup, the On Equip should use the Draw Weapon action and the On Unequip use the Sheathe/Holster Weapon. That's about it.