T
Tyskaro
Guest
Hello everyone, i'm not so good in english, so forgive me if i make some mistake...
Recently i started learning how to programm and i was watching some tutorials, but sometimes i try alone doing something... And after trying for some time i made like 90% of what i was planning, that was an melee attack that sends a wave on the enemies and hits them... But, the wave spawns when i start the animation (The first frame), and i want it to spawn on the 7º frame...
if
{
instance_create_layer(x,y, layer, Aqua_1);
Combo = 0;
}
Basically the code makes a object (Aqua_1) that is the wave... So, the ideia is
if (The animation is on the 7º frame)
But i dont know whats the command for this... i tried Image_index... But it didnt worked (the code was written on a script... And i used sprite_index to set the animation for the Object)
Recently i started learning how to programm and i was watching some tutorials, but sometimes i try alone doing something... And after trying for some time i made like 90% of what i was planning, that was an melee attack that sends a wave on the enemies and hits them... But, the wave spawns when i start the animation (The first frame), and i want it to spawn on the 7º frame...
if
{
instance_create_layer(x,y, layer, Aqua_1);
Combo = 0;
}
Basically the code makes a object (Aqua_1) that is the wave... So, the ideia is
if (The animation is on the 7º frame)
But i dont know whats the command for this... i tried Image_index... But it didnt worked (the code was written on a script... And i used sprite_index to set the animation for the Object)