Yes,Dillo, works, thanks. I have tried:
DestroyActor (Name) == DestroyActor (ACT1 - > CLONENAME) / / Work
========================================
Now another question. This is
VERYdifficult, at least for me.
I create a #1 Hero, I create #3 ENEMY. Hero against 3 ENEMY.
The hero shoots a bomb against one any of the 3 enemies. When the bomb collides with one of them, the bomb as it does to find the
id of the enemy and therefore to destroy it or to get away HP?
I am reading getAllActorrsInCollision (...),,,but I don't succeed in finding the solution.
----------------------------------
My idea is: create an array of all the enemies and choose one of them, finding his x, y,, to be been able to launch the bomb to those coordinates of enemy.x/enemy.y. Can yuo,please, help me?
==============================================
Reading among the various posts, I have found this -->
http://game-editor.com/forum/viewtopic. ... =getclone2but I don't understand it. : ship.x = getclone2("transporterEnd", collide.cloneindex)->x;
but I believe that it am very useful...I believe...the part collides.cloneindex that seems useful.
=========================================
I am trying the function to collide, but something doesn't go. Are you able, please, can you look the code? PACMAN eats the yellow dots but also the blue sprite......and this must not happen, now.