Hello, How to duplicate an enemy and have each duplicated enemy shoot in the direction of the character

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

A clear and concise description of what you are trying to do.
How to duplicate an enemy and have each duplicated enemy shoot in the direction of the character

What is the expected result

An enemy that can move behind the character and shoot at him should be duplicated for some functions

Explain what should happen when you run the game.

What is the actual result

Explain what is happening instead, what is going wrong.

Related screenshots

Please include a screenshot of the full related events including both conditions and actions.
And screenshots to help showing us the issue.

Project files (optional)

Insert a minimal game showing your issue in a .zip or .rar.

Hi,

  • use the “create object” action to duplicate the enemy.
  • use “fire bullet” extension behavior to shoot at player.X() ; player.Y(). You can adjust the firing rate, cooldown etc… in the behavior’s properties.