Question about a Melee Attack, & Swapping weapons.

FuzzySmurf

Member
Hello!
I am trying to get this configuration to work. although I'm not sure what I'm doing wrong.
I have a configuration that shoots fireballs, (will be pellets in video), and it works. the problem is, when im within Melee range, I want him to trigger his other attack. The problem is that the other attack isn't even initializing, and I'm not sure why, or If I have a setting wrong.

But the whole purpose is that the character shoots when player is at range. but when the player is within melee range, the NPC should melee attack the player.

Is there a process I need to go through when I swap weapons? from Melee to Range? or do I just have my Bite Attack configured incorrectly?.
It seems to work fine when I do the fireball attack.

Other Notes:
* When I swap to the BiteAttack, the Unequip logic is triggered, and the Pellet is unequipped (after I swap to the BiteAttack ItemSet).
But the BiteAttack never gets equipped? not sure why that is. (BiteAttack is a copy from the "Body" ItemAbility from UCC).

Video for reference:
Tried to keep it short-ish.


Thanks.
 
Thank you for the detailed video it really helps giving some context on the issue.

Unfortunatly I couldn't see anything specifically wrong with your setup. But I did notice an error log at some point when you tried to equip the BiteAttack. Something about not having an item in Slot 0
That might be a clue
Perhaps it does not equip the item because it could not find it, or it was set for a non-0 slot id?
 
Oh, I may have unintentionally double posted. I couldn't find this specific post yesterday. so i made a new one:

I'm not sure because slot 0 does exist. Both the BiteAttack and the 'Pellet' use Slot 0.
Slot 0 in this case is positioned in front of the mouth.
 
Back
Top