ExecuteAttack() public method

NPC tries to hit the player.
public ExecuteAttack ( ) : void
return void
Example #1
0
    public override ActionResult Execute(RAIN.Core.AI ai)
    {
        NPC npc = ai.Body.GetComponent <NPC>();

        npc.ExecuteAttack();

        return(ActionResult.SUCCESS);
    }