Can I throw Melee Weapon when Aiming?

honesyokan

New member
and I would like to attack with bare hands after throwing melee weapon.
(Like God of war 2018)

■What I want to do
1. I want to SwitchMeleeAction to ThrowingAction with AimingEvent.
2. I referenced ShootableAction of assultrifle, but couldn't find how to trigger Action by Event.

I read about document of input and action and so on, but I couldn't figure out. so Im asking here.
I appreciate if you help me out.
Thank you.
 
Yes, you can have any number of actions. For this you'll need to setup the throwing action and have it trigger based on a second Use ability. You will need your own animations as well since we don't have any that include throwing a melee weapon. A similar concept is used as the shootable weapons which allow you to use the melee action.
 
Yes, you can have any number of actions. For this you'll need to setup the throwing action and have it trigger based on a second Use ability. You will need your own animations as well since we don't have any that include throwing a melee weapon. A similar concept is used as the shootable weapons which allow you to use the melee action.
Hi! Thanks for the imformation and I can make atlas throw weapon! Thanks alot!

1.png2.png3.png4.png
 
Can you please share your set up? This is exactly what I want to achieve!
Hi, I coudn't make much time ,so not enough SS but I hope you figure this out!
[Action]
1.I used "Grenadeweaponright" as base
2.added MeleeAction from Swordweapon
3.changed CharacterItem component->AnimatorItemID to 22 (to show melee attack)
4.Set"MeleeAction ID to 0" "ThrowableAction ID to 1"
スクリーンショット 2023-04-30 22.01.07.png
[Character Item Ability]
1.at Use Ability I created new 2 state
2.set them like, when state is Aiming..."Action ID to 1" if not Aiming"Action ID to 0"

[set Projectiles]
1.Can be set anything you want. I set it to pickable Item(like SwordDrop)
 
Top