I have make an event when use item on one of enemy in troop.(I already play animation of this item in item setting.)
That item have an event is flip the coin.
if it head play effect animation(60).
if it tail play effect animation(61).
Example of enemy position.
2
1 0
3
I try this code.
but it will play animation only at enemy at position1
I need it to be when it use item on enemy2 play animation at enemy2.
I try to get enemyIndex with
But it not work out.
Thank you. and sorry for my bad at english.
That item have an event is flip the coin.
if it head play effect animation(60).
if it tail play effect animation(61).
Example of enemy position.
2
1 0
3
I try this code.
but it will play animation only at enemy at position1
I need it to be when it use item on enemy2 play animation at enemy2.
I try to get enemyIndex with
But it not work out.
Thank you. and sorry for my bad at english.