Getting AI characters to Use items

Spozgar

New member
I´m trying to make my AI guy swing with her sword, but the use ability won´t move the fsm to another state or do anything. I´m using playmaker and the "Start Stop ABility" and Ability Type Use. I´ve equipped the character with a sword.

Below is a screenshot what I have currently set up on use ability and FSM.


melee.jpg
 
Does the Use ability start? If instead of Playmaker you set the start type to button down and attach a camera does it work? This will indicate if it's a setup problem with the item
 
Problem is probably in the setup. I set up the sword as in the tutorial video for setting melee weapons. I tried to set the Use action to start on Fire1 Input, but nothing happens. I have managed to get the sword to work on the main character.

Here´s how I´ve set up the sword, I hope there is all the relevant info:
 

Attachments

  • melee2.jpg
    melee2.jpg
    294.9 KB · Views: 6
Top