Announcement

Collapse
No announcement yet.

Stunning AI movement when projectile fired

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Stunning AI movement when projectile fired

    Hello guys,

    I have been trying to figure out how to link up when my character fires a projectile it will stun the AI for 2-3 seconds and then continue to move. I should mention this is a 3D side scroller speed runner. So far I have set this up however I'm pretty certain I'm incorrect as nothing happens.
    Click image for larger version

Name:	Projectile Stun.png
Views:	1
Size:	101.0 KB
ID:	1176195

    Thanks

    #2
    hi! you could get the actor that was hit from the projectile, then apply damage to it.

    On the ai you could get the event on any damage and freeze the ai from there instead of substrating health.

    now I have no idea how the ai is setup Nor do I know how you fire that projectile so if this does not help you might need to give us more info.

    Comment


      #3
      Click image for larger version

Name:	AI Blueprints.png
Views:	1
Size:	250.2 KB
ID:	1102340
      That's my AI setup, its basically a copy of the character however removed the camera and movement inputs apart from the endless sidescroller. Ive got it setup so that when the AI capsule hits the character it dies.

      Click image for larger version

Name:	Projectile Blueprint.png
Views:	1
Size:	103.9 KB
ID:	1102342
      This is the Projectile blueprint

      Comment

      Working...
      X