Vai al contenuto principale

Ricerca

How do I make enemy AI logic?

  • Aecert

    Have you tried yet...? Try using the built in enemy tag and also mess around with the health manager in the code.

  • mmdev1 - John & Luci

    Hi,

    In the puppet control there is a page for following,
    If you set it to follow a tag called "Player" then put a key on you called "Player" Then the puppet will follow you.
    Then if you have a trigger zone on the enemy also looking for a tag called "Player" which you can hook up to your attack animation.
    That means when they get close they will attack.
    Lastly use the health modifier gadget set to look for friend and a zone shape and negative health to hurt you.

    Hope this helps

    John

Accedi per aggiungere un commento.