1
Editor Discussion / Re: Editor Tutorials
« on: September 01, 2013, 08:08:38 AM »For me, the problem is to succeed of cracking walls when i play with my map. I use deteriorate wall but impossible to crack them in my test.
When I was messing around with the broken walls what I did was go to the example maps, "Breakable_Wall" is one of those maps. Just open it up in the editor and study how it works. It took me about half an hour to do everything perfectly, and to be honest I probably couldn't remake it without looking at it again. One thing that is hard to see in the editor is the DestroyObject script is connected to the SpawnObject script using Ctrl+Alt and the actual wall piece with the 0+0 thing, and you need the SpawnObject scrip to be in the perfect spot (I suggest using 1/4 grid size. If your going to figure it out that way just move around all the scripts so you can see how they are all connected, then make sure you look at exactly what each individual script's settings are and you should be fine.