Problem Description
selected 'enemy' is wrong
Attach a Capx
https://www.dropbox.com/s/ao0x96r0s09vz ... .capx?dl=0
Description
what i want to make is to create a '!' object above the 'enemy' whose 'Attack cooldown' is 0 or less, and thus, i use
'create object '!' on layer 0 (enemy.x, enemy.y - enemy.height/2 - 35)' action on
'if enemy.curATKCD <= 0' condition
in hope that the object '!' will be created above the enemy whose curATKCD reached 0 or below
but it doesnt work, the '!' is created on a random 'enemy' instead
i can circumvent this by using 'enemy spawn object' instead... but i'm pretty sure my coding aren't wrong <img src="{SMILIES_PATH}/icon_neutral.gif" alt=":|" title="Neutral">
also using enemy spawn object, i need to make the spawn point for ALL the enemy, which is going to be a lot
I dunno if it's my logic that's wrong or this is an actual bug (as i expected the enemy object to be selected when the conditions is met, but it doesnt seem so, random enemy object is selected instead)
Steps to Reproduce Bug
just wait a few seconds
Affected Browsers
Operating System and Service Pack
windows 10
Construct 2 Version ID
244