boss spawns enemies, but they can't attack player

ExceedXatu

  • Posts: 5
in my sidescroller, a boss periodically spawns enemies, and i have the follow target behavior on them, but to get that behavior to work, you need to customize them in the scene and select the player, but this is not possible since the boss spawns them mid level and they are not in the scene by default, any advice ?

Bombini

  • *
  • Posts: 1400
You can set default values for the attributes if you click on the attributes tab in the lower right corner of the editor when opening an attribute. This should help. Otherwise you need modify the behaviour itself.

letmethink

  • *
  • Posts: 2545
Additionally there are blocks that allow you to set attributes in behaviors for other actors during runtime
~Letmethink