Reply to Some form of "selective" nohit function?
If you don't have an account, just leave the password field blank.
In this scenario, the player has to destroy some floor boards using bombs.
For these bombs to be able to damage and destroy these boards, their nohit value can't be set to 1, or else the bombs are not going to detect them. However, these boards being 'floor' sprites, it would be really odd if arrows and ranged spells could hit them.
Is there any way in which a bomb could detect and damage these sprites, while other 'missiles' would fly over them?
I believe I could brute force it using the 'inside_box' function, but since I intend to make this a common quirk, having to write box lines for every instance of it would be a nightmare.
Any ideas?
For these bombs to be able to damage and destroy these boards, their nohit value can't be set to 1, or else the bombs are not going to detect them. However, these boards being 'floor' sprites, it would be really odd if arrows and ranged spells could hit them.
Is there any way in which a bomb could detect and damage these sprites, while other 'missiles' would fly over them?
I believe I could brute force it using the 'inside_box' function, but since I intend to make this a common quirk, having to write box lines for every instance of it would be a nightmare.
Any ideas?