MissingNo.
Member
I want to check 2 pixels below the block for the enemyparent and then check that the vspeed of the specific
instance is smaller than -3. Then once both criteria are fulfilled then I want to execute the rest of the code.
The code works fine as is but the problem is I don't know how to check the vspeed of a specific instance rather than the object itself.
instance is smaller than -3. Then once both criteria are fulfilled then I want to execute the rest of the code.
The code works fine as is but the problem is I don't know how to check the vspeed of a specific instance rather than the object itself.
Code:
if(hit == 0)
{
// If Object At Place
var l5D388924_0 = instance_place(x + 0, y + 2, enemyparent);
if ((l5D388924_0 > 0))
{
// Set Sprite
sprite_index = emptyblock2;
image_index = 0;
// Assign Variable
hit = 1;
}
}