Bombertrainee
 Status: Offline
Joined: 15 Dec 2008 Posts: 26
 |
#24 Posted: Wed Mar 31, 2010 11:53 am |
 |
if (!solid && !instance_place(x ,y, objPlayer)) solid=1; |
There. That will make sure there is no player around and if the bomb isn't already solid, then make it solid. The bomb must start out not solid when layed. Just replace objPlayer with whatever your bomber's object name is.
Look at http://www.bombermanboard.com/viewtopic.php?t=1260 for the engine I made. It should help. But it's old and I'm doing a cleaner version, so just take what you need from it and the new one will be better. |
|