[4.5.6 Adventure] Boss AI and Bounding Boxes

Saxmachine

New member
Evening folks - I have got my first boss up and kicking, but there are a few issues I am facing.


Firstly, I have set the bounding box, but it seems to be completely ignored. The video shows how the boss stops adjacent to the wall on the left side, but clips through it on the front and right. I'm sure there is an easy fix, or something obvious that I missed back when I did the tutorials.

Secondly, I would like a way to have him only shoot a certain number of projectiles before changing state. I was hoping not to have to write a new AI action (you seem to have so few?) as some other enemies are using it to shoot randomly at the player. I tried to set an action timer and have the action state repeat when the timer finishes but change state when the animation finishes, but it seems to just keep shooting infinitely..

ALSO it seems like he does 2 damage to me at the end instead of 1 - presumably this is a hurt state issue. Does the default script just keep you invulnerable until the state changes?

Any help appreciated :sneaky:

Cheers
Sax
 
Top Bottom