enemy not aiming properly

Get help using Construct 2

Post » Fri Apr 12, 2013 8:37 pm

Hello! I am trying to create a basic game where the enemy is supposed to shoot at 2 soliders. I want the enemy to shoot randomly on either Man1 or Man2 (the 2 soliders), but the problem that I have encountered is that the enemy is not aiming properly. The bullets seem to be going at random directions and I cant, for the sake of my life, figure out how to make the enemy aim on the targets only. I have been searching for tutorials that might descirbe how to do it but with no results.

And also, how do I make the enemy stop after both targets have been destroyed?

The .capx file can be downloaded at https://dl.dropboxusercontent.com/u/11888452/solidershot.capx

Thanks in advance :) DV72013-04-12 20:40:10
Posts: 15
Reputation: 580

Post » Fri Apr 12, 2013 8:50 pm

Do Man1 and Man2 have to be different objects? shootRandomMan.capx
Posts: 1,520
Reputation: 25,860

Post » Fri Apr 12, 2013 8:57 pm

[QUOTE=ramones] Do Man1 and Man2 have to be different objects? https://dl.dropboxusercontent.com/u/8367729/construct/example/shootRandomMan.capx[/QUOTE]

I tried the CTRL+drag to copy the object and when I did that, there was no randomness at all. Every bullet went on the same guy, I had 3. Might have messed something up on the event-thingy back then.

Thank you so much for helping me out! :)DV72013-04-12 20:57:31
Posts: 15
Reputation: 580

Return to How do I....?

Who is online

Users browsing this forum: No registered users and 12 guests