When a block is destroyed shouldn't its hide property be equal to one? (because I can't detect it)
block(x).hide
When a block is destroyed shouldn't its hide property be equal to one? (because I can't detect it)
block(x).hide
Last edited by NESTED ERNEST on 17 Jan 2020, 7:32, edited 1 time in total.
Programming NPCs in SMBX-38A is fun:
ROCKMAN GIF IN SMBX 38A ![]() | ||
What happens when I do an iteration also counts those who are gone (or those that were destroyed)
I didn't say that 'hide' is used to destroy blocks. It is used State=-1 or 2 or when it is harmed by an external force(like Mario). It seems to me that 'hide' is always zero unless you write it equal to one(only by script). Programming NPCs in SMBX-38A is fun:
ROCKMAN GIF IN SMBX 38A ![]() | ||
I've been testing more, and to know if a block is destroyed, it's just to check if block (b).state=2(condition) and not the block(b).hide=1, In the report I was making 'block(x).hide' when a block is destroyed automatically be 1. Programming NPCs in SMBX-38A is fun:
ROCKMAN GIF IN SMBX 38A ![]() | ||
Who is online (over the past 5 minutes)Users browsing this forum: 1 guest | ||